/* Premium auth form styles (login, shared patterns) */
.premium-login-container {
    max-width: 440px;
    margin: 0 auto;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.premium-login-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px 20px 0 0;
}

.premium-login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.premium-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.premium-subtitle {
    color: #718096;
    font-size: 1rem;
    margin-bottom: 0;
}

.premium-login-form {
    width: 100%;
}

.premium-input-group {
    margin-bottom: 1.5rem;
}

.premium-label {
    display: block;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.input-with-icon {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
    z-index: 10;
}

.premium-text-input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background-color: #ffffff;
    font-size: 1rem;
    color: #2d3748;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.premium-text-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

.premium-text-input::placeholder {
    color: #a0aec0;
}

.premium-error {
    color: #e53e3e;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1.5rem 0 2rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.premium-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    user-select: none;
}

.premium-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    height: 20px;
    width: 20px;
    background-color: #ffffff;
    border: 2px solid #cbd5e0;
    border-radius: 6px;
    margin-right: 10px;
    transition: all 0.2s ease;
    position: relative;
    flex-shrink: 0;
}

.premium-checkbox:checked ~ .checkmark {
    background-color: #667eea;
    border-color: #667eea;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.premium-checkbox:checked ~ .checkmark:after {
    display: block;
}

.checkbox-text {
    color: #4a5568;
    font-size: 0.95rem;
}

.premium-forgot-link {
    color: #667eea;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.premium-forgot-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

.form-submit {
    margin-top: 1.5rem;
}

.premium-login-button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.premium-login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

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

.premium-form-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.footer-text {
    color: #718096;
    font-size: 0.95rem;
}

.footer-link {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    margin-left: 5px;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

@media (max-width: 640px) {
    .premium-login-container {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }

    .premium-title {
        font-size: 1.75rem;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
    }
}
