﻿body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Roboto', Arial, sans-serif;
    transition: background-color 0.3s ease;
}

.form-container {
    max-width: 500px;
    padding: 2rem;
    background-color: var(--bg-secondary);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

/* Google-style input */
.google-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid var(--border-color);
    border-radius: 24px !important;
    outline: none;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 1rem;
}

    .google-input:focus {
        border-color: var(--focus-border);
        box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
    }

.google-label {
    position: absolute;
    top: 12px;
    left: 16px;
    font-size: 16px;
    color: var(--text-secondary);
    pointer-events: none;
    transition: all 0.3s ease;
    background-color: var(--bg-secondary);
    padding: 0 4px;
    z-index: 1;
}

.google-input:focus + .google-label,
.google-input:not(:placeholder-shown) + .google-label {
    top: -8px;
    font-size: 12px;
    color: var(--focus-border);
    font-weight: 500;
}

.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 25px;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 18px;
    z-index: 2;
}

.password-strength {
    height: 4px;
    width: 100%;
    background-color: var(--progress-bar-bg);
    border-radius: 2px;
    margin-top: 6px;
    overflow: hidden;
    display: none;
}

.password-strength-bar {
    height: 100%;
    width: 0%;
    background-color: var(--progress-bar-fill);
    transition: width 0.3s ease;
}

.password-strength-text {
    font-size: 12px;
    margin-top: 4px;
    color: var(--text-secondary);
    text-align: left;
    display: none;
}

.password-strength.show {
    display: block;
}

.password-strength-text.show {
    display: block;
}

.confirm-password-field {
    display: block;
}

    .confirm-password-field.hidden {
        display: none;
    }

.btn {
    border-radius: 24px;
    padding: 12px 24px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--focus-border);
    border: none;
}

    .btn-primary:hover {
        background-color: #3a7bd5;
        transform: translateY(-1px);
    }

.form-title {
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-link {
    display: block;
    text-align: center;
    margin-top: 1rem;
    color: var(--focus-border);
    text-decoration: none;
}

    .form-link:hover {
        text-decoration: underline;
    }

.form-footer {
    margin-top: 2rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}
