/* Agent Registration Form Styles - Elegant White & Gold Theme */

.arm-registration-wrapper {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
  
}

.arm-registration-container {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(217, 182, 126, 0.15);
    padding: 40px;
    border: 2px solid rgba(217, 182, 126, 0.1);
}

.arm-registration-title {
    text-align: center;
    color: #d9b67e;
    margin-bottom: 35px;
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 15px;
}

.arm-registration-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #d9b67e, transparent);
}

.arm-form-section {
    margin-bottom: 35px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(217, 182, 126, 0.2);
}

.arm-form-section:last-of-type {
    border-bottom: none;
}

.arm-form-section h3 {
    color: #d9b67e;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(217, 182, 126, 0.3);
}

.arm-form-row {
    margin-bottom: 20px;
}

.arm-label {
    display: block;
    margin-bottom: 8px;
    color: #6b5d4a;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.arm-label .required {
    color: #d9534f;
    margin-left: 4px;
}

.arm-input,
.arm-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(217, 182, 126, 0.3);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600 !important;
    color: #000000 !important;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: #ffffff;
}

.arm-input:focus,
.arm-textarea:focus {
    outline: none;
    border-color: #d9b67e;
    box-shadow: 0 0 0 4px rgba(217, 182, 126, 0.1);
    background: #fffef9;
    color: #000000 !important;
}

.arm-textarea {
    resize: vertical;
    min-height: 100px;
}

.arm-description {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #8b7d6b;
    font-style: italic;
}

.arm-promo-input-wrapper {
    display: flex;
    gap: 10px;
}

.arm-promo-input-wrapper .arm-input {
    flex: 1;
}

.arm-promo-message {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 500;
}

.arm-promo-message.success {
    color: #5cb85c;
    background: rgba(92, 184, 92, 0.1);
    padding: 8px 12px;
    border-radius: 5px;
    border-left: 3px solid #5cb85c;
}

.arm-promo-message.error {
    color: #d9534f;
    background: rgba(217, 83, 79, 0.1);
    padding: 8px 12px;
    border-radius: 5px;
    border-left: 3px solid #d9534f;
}

.arm-payment-section {
    background: linear-gradient(135deg, #fffef9 0%, #fff9ed 100%);
    padding: 25px;
    border-radius: 10px;
    border: 2px solid rgba(217, 182, 126, 0.3);
}

.arm-price-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
}

.arm-price-label {
    color: #6b5d4a;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.arm-price-amount {
    color: #d9b67e;
    font-size: 28px;
    font-weight: 700;
}

.arm-form-actions {
    text-align: center;
    margin-top: 35px;
}

.arm-button {
    padding: 16px 40px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.arm-button-primary {
    background: linear-gradient(135deg, #d9b67e 0%, #c9a66e 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(217, 182, 126, 0.3);
}

.arm-button-primary:hover {
    background: linear-gradient(135deg, #c9a66e 0%, #b9965e 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(217, 182, 126, 0.4);
}

.arm-button-primary:disabled {
    background: #d0d0d0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.arm-button-secondary {
    background: rgba(217, 182, 126, 0.2);
    color: #d9b67e;
    border: 2px solid #d9b67e;
    padding: 12px 25px;
    font-size: 14px;
}

.arm-button-secondary:hover {
    background: rgba(217, 182, 126, 0.3);
    border-color: #c9a66e;
}

.arm-form-messages {
    margin-top: 20px;
}

.arm-message {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 500;
}

.arm-message.success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border-left: 4px solid #28a745;
}

.arm-message.error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.arm-message.info {
    background: linear-gradient(135deg, #fff9ed 0%, #fff3db 100%);
    color: #856404;
    border-left: 4px solid #d9b67e;
}

/* Loading State */
.arm-form.loading {
    opacity: 0.6;
    pointer-events: none;
}

.arm-form.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    margin: -25px 0 0 -25px;
    border: 4px solid rgba(217, 182, 126, 0.2);
    border-top: 4px solid #d9b67e;
    border-radius: 50%;
    animation: arm-spin 1s linear infinite;
}

@keyframes arm-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Input Error State */
.arm-input.error,
.arm-textarea.error {
    border-color: #dc3545;
    background: #fff5f5;
    color: #000000 !important;
}

/* Ensure all input text is black */
input.arm-input,
textarea.arm-textarea,
input[type="text"].arm-input,
input[type="email"].arm-input,
input[type="tel"].arm-input {
    color: #000000 !important;
    font-weight: 600 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .arm-registration-wrapper {
        padding: 10px;
        margin: 20px auto;
    }
    
    .arm-registration-container {
        padding: 25px 20px;
    }
    
    .arm-registration-title {
        font-size: 24px;
        letter-spacing: 1px;
    }
    
    .arm-form-section h3 {
        font-size: 18px;
    }
    
    .arm-promo-input-wrapper {
        flex-direction: column;
    }
    
    .arm-price-display {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .arm-button-primary {
        padding: 14px 30px;
        font-size: 15px;
    }
    
    .arm-price-amount {
        font-size: 24px;
    }
}

/* Additional Enhancements */
.arm-input:hover,
.arm-textarea:hover {
    border-color: rgba(217, 182, 126, 0.5);
}

/* Placeholder Styling */
.arm-input::placeholder,
.arm-textarea::placeholder {
    color: #999999;
    font-style: italic;
    font-weight: 400;
}

/* Focus within form sections */
.arm-form-section:focus-within h3 {
    color: #c9a66e;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar for textarea */
.arm-textarea::-webkit-scrollbar {
    width: 8px;
}

.arm-textarea::-webkit-scrollbar-track {
    background: rgba(217, 182, 126, 0.1);
    border-radius: 4px;
}

.arm-textarea::-webkit-scrollbar-thumb {
    background: rgba(217, 182, 126, 0.5);
    border-radius: 4px;
}

.arm-textarea::-webkit-scrollbar-thumb:hover {
    background: #d9b67e;
}

/* Required field asterisk animation */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.arm-label .required {
    animation: pulse 2s ease-in-out infinite;
}

/* Success checkmark animation */
@keyframes checkmark {
    0% { transform: scale(0) rotate(45deg); }
    50% { transform: scale(1.2) rotate(45deg); }
    100% { transform: scale(1) rotate(45deg); }
}

/* Form container entrance animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.arm-registration-container {
    animation: fadeInUp 0.6s ease-out;
}

/* Section stagger animation */
.arm-form-section {
    animation: fadeInUp 0.6s ease-out backwards;
}

.arm-form-section:nth-child(1) { animation-delay: 0.1s; }
.arm-form-section:nth-child(2) { animation-delay: 0.2s; }
.arm-form-section:nth-child(3) { animation-delay: 0.3s; }
.arm-form-section:nth-child(4) { animation-delay: 0.4s; }
.arm-form-section:nth-child(5) { animation-delay: 0.5s; }

