/* Authentication Pages Styles */

.auth-container {
    max-width: 500px;
    margin: 80px auto 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.auth-container h2 {
    text-align: center;
    font-size: 28px;
    color: white;
    position: relative;
    margin: 0;
    padding: 30px 0;
    background: linear-gradient(135deg, #0056b3, #00a8e8);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.auth-form {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.auth-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #333;
    font-size: 1rem;
    position: relative;
    padding-left: 15px;
}

.auth-form label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: #0056b3;
    border-radius: 3px;
}

.auth-form input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) inset;
}

.auth-form input:focus {
    border-color: #0056b3;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.15);
    background-color: #fff;
}

.auth-form input:hover {
    border-color: #bbb;
    background-color: #f5f5f5;
}

.auth-btn {
    background: linear-gradient(135deg, #0056b3, #00a8e8);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 14px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.auth-btn:hover {
    background: linear-gradient(135deg, #003d82, #0083b5);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.auth-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.auth-errors {
    background: #fff5f5;
    border-left: 4px solid #e53e3e;
    color: #e53e3e;
    padding: 12px 15px;
    border-radius: 6px;
    margin: 10px 0;
    font-size: 0.9rem;
    box-shadow: 0 2px 5px rgba(229, 62, 62, 0.1);
}

.auth-errors ul {
    margin: 0;
    padding-left: 20px;
}

.auth-errors p {
    margin: 0;
    text-align: left;
}

.auth-container p {
    text-align: center;
    margin: 0;
    padding: 20px;
    background: #f8f9fa;
    border-top: 1px solid #eee;
    font-size: 0.95rem;
    color: #555;
}

.auth-container a {
    color: #0056b3;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.auth-container a:hover {
    color: #00a8e8;
}

.auth-container a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #00a8e8;
    transition: width 0.3s ease;
}

.auth-container a:hover::after {
    width: 100%;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .auth-container {
        margin: 100px 20px 30px;
    }

    .auth-form {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .auth-container {
        margin-top: 80px;
    }

    .auth-container h2 {
        font-size: 24px;
        padding: 20px 0;
    }

    .auth-btn {
        padding: 12px;
    }

    .auth-form {
        padding: 15px;
    }
}