
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #f6f1ee;
    color: #2c241f;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 20px;
    background-image: 
        radial-gradient(ellipse at 20% 50%, rgba(200, 170, 160, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(180, 150, 140, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(160, 130, 120, 0.05) 0%, transparent 50%);
    background-attachment: fixed;
}

.header {
    text-align: center;
    margin-bottom: 32px;
    padding: 0 16px;
}

.header .logo-icon {
    display: inline-block;
    font-size: 32px;
    margin-bottom: 6px;
    letter-spacing: 2px;
}

.header h1 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 44px;
    font-weight: 600;
    color: #3c2822;
    letter-spacing: 6px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.header h1::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: #c4a89a;
    border-radius: 2px;
}

.header .subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-weight: 300;
    font-style: italic;
    color: #8a746a;
    margin-top: 16px;
    letter-spacing: 1px;
}

.main-content {
    width: 100%;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info-text {
    text-align: center;
    font-size: 15px;
    font-weight: 300;
    color: #6e5b52;
    background: rgba(255, 252, 250, 0.7);
    backdrop-filter: blur(10px);
    padding: 18px 28px;
    border-radius: 16px;
    border: 1px solid rgba(200, 180, 170, 0.25);
    line-height: 1.7;
    margin-bottom: 28px;
    width: 100%;
    letter-spacing: 0.3px;
}

.info-text strong {
    color: #4a322a;
    font-weight: 500;
}

.auth-container {
    width: 100%;
    background: rgba(255, 253, 251, 0.85);
    backdrop-filter: blur(20px);
    border-radius: 28px;
    padding: 44px 40px 40px;
    border: 1px solid rgba(220, 200, 190, 0.3);
    box-shadow: 
        0 20px 60px rgba(60, 40, 34, 0.08),
        0 8px 24px rgba(60, 40, 34, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: box-shadow 0.4s ease, transform 0.3s ease;
}

.auth-container:hover {
    box-shadow: 
        0 32px 80px rgba(60, 40, 34, 0.12),
        0 12px 32px rgba(60, 40, 34, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.auth-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 600;
    color: #3c2822;
    text-align: center;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 32px;
    position: relative;
}

.auth-title::after {
    content: '✦';
    display: block;
    font-size: 14px;
    color: #c4a89a;
    margin-top: 6px;
    letter-spacing: 0;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #8a746a;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 400;
    background: rgba(255, 252, 250, 0.6);
    border: 1.5px solid rgba(200, 180, 170, 0.25);
    border-radius: 14px;
    color: #2c241f;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.form-group input::placeholder {
    color: #b8a69c;
    font-weight: 300;
    font-size: 14px;
}

.form-group input:focus {
    border-color: #c4a89a;
    background: rgba(255, 252, 250, 0.9);
    box-shadow: 0 0 0 4px rgba(196, 168, 154, 0.12);
}

.form-group input:hover {
    border-color: rgba(196, 168, 154, 0.5);
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 300;
    color: #6e5b52;
    cursor: pointer;
    margin: 6px 0 30px 0;
    user-select: none;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #b09080;
    cursor: pointer;
    flex-shrink: 0;
    border-radius: 4px;
    transition: all 0.2s;
}

.remember-me input[type="checkbox"]:checked {
    accent-color: #8a6b5e;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.btn-submit {
    background: linear-gradient(145deg, #4a322a, #3c2822);
    border: none;
    padding: 16px 24px;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 2.5px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transition: left 0.5s ease;
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:hover {
    background: linear-gradient(145deg, #5a3f35, #4a322a);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(60, 40, 34, 0.2);
}

.btn-submit:active {
    transform: translateY(0px);
    box-shadow: 0 4px 12px rgba(60, 40, 34, 0.15);
}

.links-group {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.links-group a {
    font-size: 14px;
    font-weight: 300;
    color: #8a746a;
    text-decoration: none;
    transition: all 0.25s ease;
    position: relative;
    padding-bottom: 2px;
}

.links-group a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #b09080;
    transition: width 0.3s ease;
}

.links-group a:hover {
    color: #4a322a;
}

.links-group a:hover::after {
    width: 100%;
}

.divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 6px 0 4px;
    width: 100%;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200, 180, 170, 0.3), transparent);
}

.divider span {
    font-size: 12px;
    color: #b8a69c;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer {
    text-align: center;
    font-size: 13px;
    font-weight: 300;
    color: #a09088;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(200, 180, 170, 0.2);
    width: 100%;
    max-width: 520px;
    line-height: 1.8;
    letter-spacing: 0.3px;
}

.footer .footer-divider {
    display: inline-block;
    margin: 0 8px;
    color: #d5c8c0;
}

.footer strong {
    color: #7a655a;
    font-weight: 400;
}

@media (max-width: 560px) {
    body {
        padding: 16px 12px;
        justify-content: flex-start;
        padding-top: 40px;
    }

    .header h1 {
        font-size: 32px;
        letter-spacing: 4px;
    }

    .header .subtitle {
        font-size: 16px;
    }

    .auth-container {
        padding: 32px 22px 28px;
        border-radius: 20px;
    }

    .auth-title {
        font-size: 22px;
        letter-spacing: 3px;
    }

    .form-group input {
        padding: 12px 16px;
        font-size: 14px;
    }

    .btn-submit {
        font-size: 14px;
        padding: 14px 20px;
        letter-spacing: 2px;
    }

    .links-group {
        gap: 20px;
    }

    .links-group a {
        font-size: 13px;
    }

    .info-text {
        font-size: 14px;
        padding: 14px 18px;
    }

    .footer {
        font-size: 12px;
        padding-top: 18px;
        margin-top: 28px;
    }
}

@media (max-width: 380px) {
    .auth-container {
        padding: 24px 16px 22px;
    }

    .header h1 {
        font-size: 26px;
        letter-spacing: 2px;
    }

    .links-group {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}