.wgm-form-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.wgm-form-header h3 {
    margin: 0 0 20px 0;
    text-align: center;
    color: #333;
    font-size: 24px;
}

.wgm-form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.wgm-form-group {
    flex: 1;
}

.wgm-form-group.wgm-full-width {
    width: 100%;
}

.wgm-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.wgm-form-group input,
.wgm-form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.wgm-form-group input[type="number"] {
    text-align: center;
    font-weight: 600;
    color: #0073aa;
}

.wgm-form-group input:focus,
.wgm-form-group select:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 5px rgba(0,115,170,0.3);
}

.wgm-form-group select:disabled {
    background-color: #f7f7f7;
    color: #999;
}

#wgm-custom-village-container {
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

#wgm-custom-village-container label {
    color: #0073aa;
    font-weight: 600;
}

#wgm-custom-village {
    border: 2px solid #0073aa !important;
}

.volunteer-info,
.lpr-info {
    background-color: #f8f9fa;
    padding: 8px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.volunteer-info {
    border-left: 4px solid #28a745;
}

.lpr-info {
    border-left: 4px solid #007bff;
}

.wgm-form-group small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 12px;
}

.wgm-form-actions {
    text-align: center;
    margin-top: 20px;
}

.wgm-submit-btn {
    background: #0073aa;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.wgm-submit-btn:hover {
    background: #005a87;
}

.wgm-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.wgm-form-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
}

.wgm-form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.wgm-form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.wgm-loading {
    opacity: 0.6;
    pointer-events: none;
}

@media (max-width: 768px) {
    .wgm-form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .wgm-form-container {
        margin: 10px;
        padding: 15px;
    }
}