/* Authentication Pages Styles */

:root {
    --gk-gradient: linear-gradient(135deg, hsl(217, 91%, 50%), hsl(260, 84%, 58%));
}
a {
  text-decoration: none;
}

/* Login Container */
.login-container {
    min-height: calc(100vh - 80px);
    padding-top: 100px;
    padding-bottom: 60px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.login-card {
    max-width: 450px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.login-header {
    background: var(--gk-gradient);
    padding: 30px 30px 20px;
    text-align: center;
    color: white;
}

.login-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.login-header p {
    font-size: 16px;
    opacity: 0.9;
    margin: 0;
}

/* Auth Tabs */
.auth-tabs {
    display: flex;
    background: white;
    border-bottom: 2px solid #e5e7eb;
}

.auth-tab {
    flex: 1;
    padding: 16px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.auth-tab:hover {
    color: hsl(217, 91%, 50%);
    background: #f9fafb;
}

.auth-tab.active {
    color: hsl(217, 91%, 50%);
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gk-gradient);
}

/* Tab Content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.login-body {
    padding: 40px 30px;
}

/* Form Styles */
.form-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-control {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: hsl(217, 91%, 50%);
    box-shadow: 0 0 0 0.2rem rgba(30, 64, 175, 0.15);
}

/* Password Toggle */
.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.password-toggle:hover {
    color: hsl(217, 91%, 50%);
}

/* Login Button */
.btn-login {
    background: var(--gk-gradient);
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px 0 rgba(30, 64, 175, 0.39);
}

.btn-login:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4);
}

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

.btn-login:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Form Check/Checkbox Styles */
.form-check-input:checked {
    background-color: hsl(217, 91%, 50%);
    border-color: hsl(217, 91%, 50%);
}

.form-check-input:focus {
    border-color: hsl(217, 91%, 50%);
    box-shadow: 0 0 0 0.2rem rgba(30, 64, 175, 0.15);
}

/* Forgot Password Link */
.forgot-link {
    color: hsl(217, 91%, 50%);
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 500;
}

.forgot-link:hover {
    text-decoration: none !important;
    color: hsl(260, 84%, 58%);
    opacity: 0.8;
}

/* Remove underlines from all links in auth pages */
.login-container a {
    text-decoration: none !important;
}

.login-container a:hover {
    text-decoration: none !important;
}

/* Alert Styles */
.alert-custom {
    border-radius: 12px;
    border: none;
    padding: 12px 16px;
    font-size: 14px;
}

/* Spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}
