/* Login page specific styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #fff;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 120px 20px 40px;
    background: linear-gradient(135deg, #f9f9f9 0%, #f5f5f5 100%);
}

.login-box {
    width: 100%;
    max-width: 480px;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    padding: 40px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: fadeIn 0.5s ease;
}

.tab-nav {
    display: flex;
    margin-bottom: 35px;
    border-bottom: 1px solid #eee;
}

.tab-link {
    flex: 1;
    text-align: center;
    padding: 20px 15px;
    font-weight: 600;
    color: #999;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-size: 18px;
}

.tab-link.active {
    color: #333;
}

.tab-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, #333 0%, #555 100%);
    border-radius: 3px 3px 0 0;
}

.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: fadeIn 0.5s ease;
}

.tab-content h2 {
    font-size: 28px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #222 0%, #555 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tab-content p {
    color: #777;
    margin-bottom: 30px;
    font-size: 16px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #444;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.form-group input {
    width: 100%;
    padding: 16px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.form-group input:focus {
    border-color: #333;
    box-shadow: 0 0 0 3px rgba(51, 51, 51, 0.1);
    outline: none;
    background-color: #fff;
}

.forgot-password {
    display: block;
    text-align: right;
    margin-top: -15px;
    margin-bottom: 25px;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.forgot-password:hover {
    color: #333;
    text-decoration: underline;
}

.full-width {
    width: 100%;
    margin-top: 10px;
}

/* Override btn-primary for login form only */
.form-group .btn-primary {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, #333 0%, #555 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.5px;
}

.form-group .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #444 0%, #666 100%);
}

/* Header button styling to match home page */
nav ul li a.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #333 0%, #555 100%);
    color: #fff;
    border: none;
}

nav ul li a.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #444 0%, #666 100%);
}

.divider {
    display: flex;
    align-items: center;
    margin: 30px 0;
}

.divider::before, .divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #e0e0e0;
}

.divider span {
    padding: 0 15px;
    color: #777;
    font-size: 14px;
    font-weight: 500;
}

.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin: 10px 0;
}

.google-btn .google-icon {
    margin-right: 12px;
}

.google-btn:hover {
    background-color: #f8f8f8;
    border-color: #d0d0d0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.google-btn img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .login-box {
        padding: 30px 20px;
    }
    
    .tab-content h2 {
        font-size: 24px;
    }
}