/* * Modern Registration Form Styles
 * Style: Clean, Minimalist, Card UI
 */

/* --- ÜLDINE KONTEINER --- */
.akt-registration-container {
    margin: 60px auto;
    padding: 40px;
    background: #ffffff;
    /* Moodne vari: pehme ja hajutatud */
    box-shadow: 0 10px 25px rgba(0,0,0,0.05), 0 4px 6px -2px rgba(0,0,0,0.02);
    border-radius: 12px; /* Veidi suurem raadius */
    border: 1px solid rgba(0,0,0,0.05); /* Väga õrn äär */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1f2937; /* Tumehall, mitte päris must */
    box-sizing: border-box;
}

.akt-registration-container.akt-register-start { max-width: 450px; }
.akt-registration-container.akt-finish-account { max-width: 650px; }

/* Pealkirjad */
.akt-registration-container h2,
.akt-registration-container h3 {
    margin-top: 0;
    margin-bottom: 12px;
    text-align: center;
    color: #111827;
    font-weight: 700;
    font-size: 24px;
    letter-spacing: -0.025em;
}

.akt-description {
    text-align: center;
    margin-bottom: 35px;
    color: #6b7280; /* Hallim tekst */
    font-size: 15px;
    line-height: 1.6;
}

/* --- VORM --- */
.akt-form .form-row {
    margin-bottom: 24px;
}

.akt-form .form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
    font-size: 14px;
}

.akt-form .form-row label .required {
    color: #ef4444;
    text-decoration: none;
    margin-left: 2px;
}

/* Sisestusväljad - Modernne "Filled" stiil */
.akt-form input.input-text,
.akt-form select {
    width: 100%;
    padding: 12px 16px;
    /* Hele hall taust, mis on silmale pehme */
    background-color: #f9fafb; 
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    color: #1f2937;
    transition: all 0.2s ease-in-out;
    outline: none;
    box-sizing: border-box;
    height: auto;
}

/* Fookus: Muutub valgeks ja saab varju */
.akt-form input.input-text:focus,
.akt-form select:focus {
    background-color: #ffffff;
    border-color: #3b82f6; /* Sinine äär (või brändi värv) */
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1); /* Glow efekt */
}

/* Placeholder stiil */
.akt-form input.input-text::placeholder {
    color: #9ca3af;
}

/* Disabled */
.akt-input-disabled {
    background-color: #f3f4f6 !important;
    color: #9ca3af !important;
    border-color: #f3f4f6 !important;
    cursor: default;
}

/* --- PAIGUTUS --- */
.akt-form-columns {
    display: flex;
    gap: 20px;
}

.akt-form-columns .form-row {
    flex: 1;
    min-width: 0; /* Hoiab flex itemi kontrolli all */
}

/* Soovitaja kast - Diskreetne */
.akt-referrer-box {
    margin-top: 10px;
    margin-bottom: 20px;
    padding: 0;
    background: transparent;
    border: none;
}
.akt-referrer-box input {
    background-color: #fff !important; /* Eristub veidi */
}

/* Tingimused */
.akt-terms-row {
    margin-top: 10px;
}
.akt-terms-row label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 400;
    font-size: 14px;
    color: #6b7280;
    cursor: pointer;
}
.akt-terms-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1px solid #d1d5db;
    margin: 0;
    cursor: pointer;
}

/* Nupp - Tugev ja ümar */
.akt-form button[type="submit"] {
    width: 100%;
    padding: 14px 20px;
    margin-top: 10px;
    background-color: #111827; /* Peaaegu must (Premium) */
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    border: none;
    border-radius: 50px; /* Pill shape */
    cursor: pointer;
    transition: transform 0.1s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.akt-form button[type="submit"]:hover {
    background-color: #000000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.akt-form button[type="submit"]:active {
    transform: scale(0.98);
}

/* Mobile */
@media (max-width: 600px) {
    .akt-registration-container {
        margin: 20px 15px;
        padding: 25px 20px;
    }
    .akt-form-columns {
        flex-direction: column;
        gap: 0;
    }
}