:root {
    --primary-color: #4361ee;
    --primary-dark: #3a56d4;
    --secondary-color: #3f37c9;
    --accent-color: #4895ef;
    --danger-color: #f72585;
    --success-color: #4cc9f0;
    --warning-color: #f8961e;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gray-color: #6c757d;
    --light-gray: #e9ecef;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f7fa;
    color: var(--dark-color);
    line-height: 1.6;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    background-color: white;
    padding: 1rem 2rem;
    box-shadow: var(--box-shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    height: 90px; /*Bagi besaq gmbq*/
    width: 95px;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
    background-color: rgba(67, 97, 238, 0.1);
}

.notification-badge {
    background-color: var(--danger-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    margin-left: 0.3rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.hamburger .line {
    width: 100%;
    height: 3px;
    background-color: var(--dark-color);
    border-radius: 3px;
    transition: var(--transition);
}

.main-content {
    flex: 1;
    padding: 2rem;
}

.footer {
    background-color: white;
    padding: 1.5rem 2rem;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    margin-top: auto;
}

.footer p {
    color: var(--gray-color);
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--gray-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Auth Pages */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 120px);
    padding: 2rem;
}

.auth-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    width: 100%;
    max-width: 500px;
    padding: 2rem;
}

/* For the logo and header section */
.auth-header {
    text-align: center;
    margin-bottom: 1rem; /* Reduced from 2rem to make spacing tighter */
    padding-top: 0.1rem; /* Added slight top padding */
}

.auth-header img {
    height: 150px; /*Bagi besaq gmbq*/
    margin-bottom: 0.1rem; /* Reduced space below logo */
}

.auth-header h2 {
    color: #4361ee;
    margin-top: 0; /* Remove default h2 margin */
    font-size: 1.5rem;
 
}

/* Animated Background for Auth Pages */
.auth-container {
    position: relative;
    overflow: hidden;
    background: linear-gradient(-45deg, #4361ee, #3f37c9, #4895ef, #4cc9f0);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.auth-card {
    background-color: rgba(255, 255, 255, 0.96);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 450px;
    padding: 3rem;
    position: relative;
    z-index: 1;
    transition: all 0.5s ease;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    transform: translateY(20px);
    animation: cardFadeIn 0.8s ease-out 0.3s forwards;
}

@keyframes cardFadeIn {
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.auth-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #FFB347, #FFCC33);
    z-index: -1;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.auth-card:hover::before {
    opacity: 0.7;
}

.auth-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.auth-header h1 {
    color: #4361ee;
    font-size: 2.5rem;
    margin-bottom: 0.2rem;
}

.auth-header .tagline {
    color: #3f37c9;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    display: block;
}

.auth-header h2 {
    color: #212529;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

/* Form styles */
.auth-form .form-group {
    margin-bottom: 1.8rem;
    position: relative;
}

.auth-form label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 500;
    color: #212529;
    font-size: 1rem;
}

.auth-form input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.auth-form input:focus {
    outline: none;
    border-color: #4361ee;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2),
                0 0 15px rgba(67, 97, 238, 0.3);
    transform: translateY(-2px);
}

/* Button styles */
.btn-primary {
    width: 100%;
    padding: 1rem;
    background-color: #4361ee;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background-color: #3a56d4;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(67, 97, 238, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    transition: 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Footer link */
.auth-footer {
    text-align: center;
    margin-top: 2rem;
    color: #6c757d;
}

.auth-footer a {
    color: #4361ee;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Floating bubbles */
.auth-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><circle cx="20" cy="20" r="3" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="4" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="70" r="3" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="30" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: floatBubbles 20s linear infinite;
    z-index: 0;
}

@keyframes floatBubbles {
    0% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-20px) translateX(10px); }
    50% { transform: translateY(0) translateX(20px); }
    75% { transform: translateY(20px) translateX(10px); }
    100% { transform: translateY(0) translateX(0); }
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .auth-card {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .auth-header h1 {
        font-size: 2rem;
    }
    
    .auth-header h2 {
        font-size: 1.5rem;
    }
}

/* Back Button Styles */
.back-button-container {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #4361ee;
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.btn-back i {
    transition: transform 0.3s ease;
}

.btn-back:hover {
    background-color: #4361ee;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
}

.btn-back:hover i {
    transform: translateX(-3px);
}

/* Adjust register card padding to accommodate back button */
.register-card {
    padding-top: 4rem !important;
    position: relative;
}

/* Make sure header doesn't overlap with back button */
.register-header {
    margin-top: 1rem;
}

/*Form group..*/
.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.auth-form input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.auth-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-block {
    display: block;
    width: 100%;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--gray-color);
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.alert {
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

.alert-danger {
    background-color: rgba(247, 37, 133, 0.1);
    color: var(--danger-color);
    border: 1px solid rgba(247, 37, 133, 0.2);
}

.alert-success {
    background-color: rgba(76, 201, 240, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(76, 201, 240, 0.2);
}

/* Dashboard */
.dashboard {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.page-header {
    margin-bottom: 2rem;
}

.page-header h2 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--gray-color);
}

.card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
}

.card-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
}

.card-header h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.card-header p {
    color: var(--gray-color);
}

.card-body {
    padding: 1.5rem;
}

.content-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.content-col {
    flex: 1;
}

.content-col.full-width {
    flex: 100%;
}

/* Welcome Banner */
.welcome-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.welcome-banner::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.welcome-banner::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -30px;
    width: 250px;
    height: 250px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.profile-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid white;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-details h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.profile-details p {
    opacity: 0.9;
}

.quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.stat-card {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    font-size: 1.5rem;
    opacity: 0.8;
}

.stat-info h3 {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
    opacity: 0.8;
}

.stat-info p {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Register Page */
.register-container {
    display: flex;
    justify-content: center;
    padding: 2rem;
}

.register-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    width: 100%;
    max-width: 800px;
    padding: 2rem;
}

.register-header {
     text-align: center;
    margin-bottom: 1rem; /* Reduced from 2rem to make spacing tighter */
    padding-top: 0.1rem; /* Added slight top padding */
}

.register-header img {
    height: 150px; /*Bagi besaq gmbq*/
    margin-bottom: 0.1rem; /* Reduced space below logo */
}

.register-header h2 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.register-form .form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.register-form .form-group {
    flex: 1;
}

.register-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.register-form input,
.register-form select,
.register-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.register-form input:focus,
.register-form select:focus,
.register-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
}

.file-upload {
    margin-top: 0.5rem;
}

.file-upload-label {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--light-gray);
    color: var(--dark-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.file-upload-label:hover {
    background-color: #e2e6ea;
}

.file-upload input[type="file"] {
    display: none;
}

.password-strength {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.strength-bar {
    height: 4px;
    flex: 1;
    background-color: var(--light-gray);
    border-radius: 2px;
}

.strength-text {
    font-size: 0.8rem;
    color: var(--gray-color);
}

.validation-message {
    font-size: 0.8rem;
    margin-top: 0.3rem;
    display: block;
}

.nfc-section {
    background-color: rgba(67, 97, 238, 0.05);
    border: 1px dashed var(--primary-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 2rem 0;
}

.nfc-section h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.nfc-section p {
    color: var(--gray-color);
    margin-bottom: 1rem;
}

.nfc-status {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.nfc-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.nfc-info p {
    margin: 0;
    font-weight: 500;
}

.nfc-info small {
    color: var(--gray-color);
    font-size: 0.8rem;
}

/* History Page */
.header-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-box {
    display: flex;
    align-items: center;
}

.search-box input {
    padding: 0.5rem 1rem;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 0.9rem;
    width: 250px;
}

.search-box button {
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
}

.filter-options select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    background-color: white;
}

.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--light-gray);
}

th {
    font-weight: 500;
    color: var(--primary-color);
}

.badge {
    display: inline-block;
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.badge.on-time {
    background-color: rgba(76, 201, 240, 0.1);
    color: var(--success-color);
}

.badge.late {
    background-color: rgba(247, 37, 133, 0.1);
    color: var(--danger-color);
}

.badge.pending {
    background-color: rgba(248, 150, 30, 0.1);
    color: var(--warning-color);
}

.table-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pagination button {
    width: 36px;
    height: 36px;
    border: 1px solid var(--light-gray);
    background-color: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.pagination button:hover {
    background-color: var(--light-gray);
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.stats-section .stat-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.stats-section .stat-card h3 {
    font-size: 1rem;
    color: var(--gray-color);
    margin-bottom: 0.5rem;
}

.stats-section .stat-card p {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Notifications Page */
.notifications-list {
    max-height: 600px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--light-gray);
    transition: var(--transition);
}

.notification-item.unread {
    background-color: rgba(67, 97, 238, 0.05);
}

.notification-icon {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-top: 0.3rem;
}

.notification-content {
    flex: 1;
}

.notification-content h4 {
    margin-bottom: 0.3rem;
}

.notification-time {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-color);
    margin-top: 0.3rem;
}

.notification-actions button {
    background: none;
    border: none;
    color: var(--gray-color);
    cursor: pointer;
    transition: var(--transition);
}

.notification-actions button:hover {
    color: var(--danger-color);
}

.empty-state {
    text-align: center;
    padding: 3rem 0;
}

.empty-state i {
    font-size: 3rem;
    color: var(--light-gray);
    margin-bottom: 1rem;
}

.empty-state h4 {
    color: var(--gray-color);
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--gray-color);
}

.btn-secondary {
    background-color: var(--light-gray);
    color: var(--dark-color);
}

.btn-secondary:hover {
    background-color: #e2e6ea;
}

.btn-danger {
    background-color: var(--danger-color);
    color: white;
}

.btn-danger:hover {
    background-color: #e51777;
}

/* Settings Page */
.settings-container {
    display: flex;
    gap: 2rem;
}

.settings-sidebar {
    width: 250px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
}

.settings-menu {
    list-style: none;
}

.settings-menu li {
    margin-bottom: 0.5rem;
}

.settings-menu a {
    display: block;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--dark-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.settings-menu a:hover, .settings-menu li.active a {
    background-color: rgba(67, 97, 238, 0.1);
    color: var(--primary-color);
}

.settings-content {
    flex: 1;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
}

.settings-section {
    display: none;
}

.settings-section.active {
    display: block;
}

.profile-image-upload {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.profile-image-preview {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--light-gray);
}

.profile-image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preference-option {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.preference-option input {
    width: auto;
}

.theme-options {
    display: flex;
    gap: 1rem;
}

.theme-option {
    flex: 1;
}

.theme-option input {
    display: none;
}

.theme-option label {
    display: block;
    padding: 1rem;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.theme-option input:checked + label {
    border-color: var(--primary-color);
    background-color: rgba(67, 97, 238, 0.1);
    color: var(--primary-color);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--light-gray);
}

/* Responsive Design */
@media (max-width: 992px) {
    .content-row {
        flex-direction: column;
    }
    
    .settings-container {
        flex-direction: column;
    }
    
    .settings-sidebar {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        transition: var(--transition);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .register-form .form-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .header-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .search-box input {
        width: 200px;
    }
}

@media (max-width: 576px) {
    .auth-card, .register-card {
        padding: 1.5rem;
    }
    
    .welcome-banner {
        padding: 1.5rem;
    }
    
    .profile-info {
        flex-direction: column;
        text-align: center;
    }
    
    .quick-stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .stats-section {
        grid-template-columns: 1fr 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}
