/* ============================================
   CREATE ACCOUNT - ATOMIO MODERN THEME
   Consistent with login modal and site design
   ============================================ */

.create-account-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 10px 0;
}

/* Header */
.create-account-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(179,144,98,0.2);
}

.create-account-header h1 {
    color: #fff;
    font-size: 1.5em;
    font-weight: 600;
    margin: 0 0 8px 0;
    letter-spacing: 0.5px;
}

.create-account-header h1 i {
    color: #e79424;
    margin-right: 10px;
}

.create-account-header p {
    color: #6b7280;
    font-size: 0.9em;
    margin: 0;
}

/* Sections */
.account-section {
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(179,144,98,0.15);
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}

.section-header {
    background: linear-gradient(180deg, rgba(35,38,45,0.9) 0%, rgba(28,31,38,0.9) 100%);
    padding: 15px 20px;
    font-size: 0.95em;
    font-weight: 600;
    color: #e79424;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(179,144,98,0.15);
}

.section-header i {
    color: #b39062;
    font-size: 1em;
}

.section-content {
    padding: 25px 20px;
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #9ba2b1;
    font-size: 0.8em;
    font-weight: 500;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-label i {
    color: #b39062;
    font-size: 0.95em;
}

.form-label.required::after {
    content: " *";
    color: #e74c3c;
}

.form-label.error {
    color: #e74c3c;
}

.form-label.error i {
    color: #e74c3c;
}

/* Input Wrapper */
.input-wrapper {
    position: relative;
    display: block;
    width: 100%;
}

/* Form Inputs */
.form-input {
    width: 100%;
    padding: 12px 14px;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    color: #fff;
    font-size: 0.95em;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: rgba(231,148,36,0.5);
    background: rgba(0,0,0,0.5);
    box-shadow: 0 0 0 3px rgba(231,148,36,0.1);
}

.form-input::placeholder {
    color: #4b5563;
}

.form-input.error {
    border-color: rgba(231,76,60,0.5);
    background: rgba(231,76,60,0.1);
}

.form-input.success {
    border-color: rgba(39,174,96,0.5);
    background: rgba(39,174,96,0.1);
}

.form-input.with-icon {
    padding-left: 14px;
}

/* Validation Indicator - Hidden, using border colors instead */
.validation-indicator {
    display: none !important;
}

/* Validation states now shown via input border colors only */

/* Form Error */
.form-error {
    width: 100%;
    box-sizing: border-box;
    color: #fff;
    font-size: 0.8em;
    margin-top: 8px;
    padding: 10px 14px;
    background: rgba(231,76,60,0.15);
    border: 1px solid rgba(231,76,60,0.3);
    border-left: 3px solid #e74c3c;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-error i {
    color: #e74c3c;
    font-size: 1em;
}

.form-error::before {
    display: none;
}

/* Form Hint */
.form-hint {
    color: #6b7280;
    font-size: 0.8em;
    margin-top: 8px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    line-height: 1.4;
}

.form-hint i {
    color: #b39062;
    margin-top: 2px;
}

.form-hint a {
    color: #e79424;
}

.form-hint a:hover {
    text-decoration: underline;
}

/* Radio Group */
.radio-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 5px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 10px 16px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.radio-option:hover {
    border-color: rgba(179,144,98,0.4);
    background: rgba(0,0,0,0.4);
}

.radio-option.selected {
    border-color: rgba(231,148,36,0.5);
    background: rgba(231,148,36,0.1);
}

.radio-option input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: #e79424;
    cursor: pointer;
}

.radio-option label {
    font-weight: 500;
    color: #9ba2b1;
    cursor: pointer;
    font-size: 0.9em;
    margin: 0;
}

.radio-option.selected label {
    color: #e79424;
}

/* Select */
.select-wrapper {
    position: relative;
    flex: 1;
}

.form-select {
    width: 100%;
    padding: 12px 14px;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    color: #fff;
    font-size: 0.95em;
    cursor: pointer;
    transition: all 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%239ba2b1' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-select:focus {
    outline: none;
    border-color: rgba(231,148,36,0.5);
    background-color: rgba(0,0,0,0.5);
    box-shadow: 0 0 0 3px rgba(231,148,36,0.1);
}

.form-select option {
    background: rgb(25,28,33);
    color: #fff;
    padding: 10px;
}

/* Country Select with Flag */
.country-select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.country-flag-inline {
    position: absolute;
    left: 12px;
    width: 24px;
    height: 16px;
    border-radius: 2px;
    border: 1px solid rgba(255,255,255,0.1);
    z-index: 1;
    pointer-events: none;
}

.form-select.with-flag {
    padding-left: 46px !important;
}

.country-flag {
    width: 24px;
    height: 16px;
    border-radius: 2px;
    margin-left: 10px;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 6px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    margin-top: 2px;
    accent-color: #e79424;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-group label {
    flex: 1;
    font-size: 0.9em;
    color: #9ba2b1;
    line-height: 1.5;
    cursor: pointer;
    margin: 0;
}

.checkbox-group label a {
    color: #e79424;
    font-weight: 600;
}

.checkbox-group label a:hover {
    text-decoration: underline;
}

/* Submit Section */
.submit-section {
    text-align: center;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(179,144,98,0.15);
}

.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 40px;
    background: linear-gradient(180deg, #d4850c 0%, #a06b10 100%);
    border: 1px solid rgba(255,215,0,0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 1em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    min-width: 250px;
}

.submit-button:hover {
    background: linear-gradient(180deg, #e79424 0%, #b8860b 100%);
    box-shadow: 0 4px 20px rgba(231,148,36,0.3);
    transform: translateY(-2px);
}

.submit-button:active {
    transform: translateY(0);
}

.submit-button i {
    font-size: 1.1em;
}

/* Suggest Link */
.suggest-link {
    color: #e79424;
    font-weight: 500;
    transition: all 0.2s ease;
}

.suggest-link:hover {
    text-decoration: underline;
    color: #ffd700;
}

/* Already have account link */
.submit-section > div:last-child {
    margin-top: 20px;
    color: #6b7280;
    font-size: 0.9em;
}

.submit-section > div:last-child a {
    color: #e79424;
    font-weight: 500;
}

.submit-section > div:last-child a:hover {
    color: #ffd700;
}

/* Responsive */
@media (max-width: 768px) {
    .create-account-container {
        padding: 5px 0;
    }
    
    .create-account-header h1 {
        font-size: 1.3em;
    }
    
    .section-header {
        padding: 12px 15px;
        font-size: 0.9em;
    }
    
    .section-content {
        padding: 20px 15px;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 8px;
    }
    
    .radio-option {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .create-account-header h1 {
        font-size: 1.2em;
    }
    
    .submit-button {
        width: 100%;
        min-width: auto;
    }
}

/* Hide empty radio options */
.radio-option:has(label:empty),
.radio-option:has(input[value=""]) {
    display: none !important;
}

/* Animation */
.account-section {
    animation: fadeSlideIn 0.4s ease forwards;
    opacity: 0;
}

.account-section:nth-child(1) { animation-delay: 0.05s; }
.account-section:nth-child(2) { animation-delay: 0.1s; }
.account-section:nth-child(3) { animation-delay: 0.15s; }
.account-section:nth-child(4) { animation-delay: 0.2s; }

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
