/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Fun Tooltip Styles */
.fun-tooltip {
    position: relative;
    display: inline-block;
}

.fun-tooltip .tooltip-text {
    visibility: hidden;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    text-align: center;
    border-radius: 15px;
    padding: 8px 12px;
    position: absolute;
    z-index: 1000;
    bottom: 125%;
    left: 50%;
    margin-left: -75px;
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    animation: none;
}

.fun-tooltip .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #3498db transparent transparent transparent;
}

.fun-tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
    transform: translateY(-5px);
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translateY(-5px);
    }
    40%, 43% {
        transform: translateY(-10px);
    }
    70% {
        transform: translateY(-8px);
    }
    90% {
        transform: translateY(-6px);
    }
}

/* Success tooltip variant */
.fun-tooltip.success .tooltip-text {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
}

.fun-tooltip.success .tooltip-text::after {
    border-color: #4ecdc4 transparent transparent transparent;
}

/* Warning tooltip variant */
.fun-tooltip.warning .tooltip-text {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.fun-tooltip.warning .tooltip-text::after {
    border-color: #f093fb transparent transparent transparent;
}

/* Info tooltip variant */
.fun-tooltip.info .tooltip-text {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    color: #333;
}

.fun-tooltip.info .tooltip-text::after {
    border-color: #a8edea transparent transparent transparent;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 300;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 300;
    color: #34495e;
    margin-bottom: 1rem;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 1rem;
}

/* Header */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 2rem;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-link:hover {
    transform: translateY(-2px);
}

.auth-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.login-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(52, 152, 219, 0.3);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

.login-btn i {
    font-size: 1rem;
}

.login-btn span {
    font-size: 0.95rem;
}

.logo-icon {
    font-size: 2.5rem;
    color: #3498db;
    transition: color 0.3s ease;
}

.logo-link:hover .logo-icon {
    color: #2980b9;
}

.logo-text {
    font-size: 2rem;
    font-weight: 300;
    color: #2c3e50;
    margin: 0;
    transition: color 0.3s ease;
}

.logo-link:hover .logo-text {
    color: #34495e;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
    padding-top: 2rem;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    margin-bottom: 4rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #6c757d;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

/* Description Section */
.description {
    padding: 2rem 0 4rem;
}

.description-content {
    max-width: 1000px;
    margin: 0 auto;
}

.section-text {
    font-size: 1.125rem;
    color: #555;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 2rem;
    color: #ffffff;
}

.feature-text {
    color: #666;
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: #ffffff;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
    margin-bottom: 1rem;
}

.footer-text {
    color: #bdc3c7;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-text i {
    margin-right: 0.5rem;
    color: #3498db;
}

/* Footer Links */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-link:hover {
    color: #3498db;
    transform: translateX(5px);
}

.footer-link i {
    font-size: 1rem;
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    text-align: center;
}

.footer-copyright {
    color: #95a5a6;
    font-size: 0.9rem;
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    position: relative;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: #2c3e50;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle:hover .hamburger-line {
    background-color: #3498db;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-nav {
    background: white;
    border-top: 1px solid #e9ecef;
    padding: 1rem 0;
    margin-top: 1rem;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 6px;
    margin: 0.25rem 0;
}

.mobile-nav-link:hover {
    background: #f8f9fa;
    color: #3498db;
    text-decoration: none;
}

.mobile-nav-link.active {
    background: #e3f2fd;
    color: #3498db;
    font-weight: 500;
}

.mobile-nav-link i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.mobile-nav-link span {
    font-size: 1rem;
    font-weight: 400;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Mobile-specific adjustments */
    .header-content {
        justify-content: space-between;
    }
    
    .auth-form-wrapper {
        padding: 2rem;
        margin: 1rem;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .table-responsive {
        font-size: 0.875rem;
    }
}

/* Auth Form Styles */
.auth-form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 2rem 0;
}

.auth-form-wrapper {
    background: #ffffff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
}

.auth-form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 0;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: #34495e;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-label i {
    color: #3498db;
    width: 16px;
}

.form-input {
    padding: 0.875rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Roboto', sans-serif;
}

.form-input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.auth-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.auth-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.auth-footer-text {
    color: #6c757d;
    font-size: 0.95rem;
}

.auth-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.auth-link:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Flash Messages */
.flash-message {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.flash-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.flash-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.flash-message i {
    font-size: 1rem;
}

/* Responsive Auth Forms */
@media (max-width: 768px) {
    .auth-form-wrapper {
        padding: 2rem;
        margin: 1rem;
    }
    
    .auth-title {
        font-size: 1.75rem;
    }
}

/* Flash Messages Global */
.flash-messages {
    padding: 1rem 0;
}

.welcome-text {
    color: #34495e;
    font-weight: 500;
    margin-right: 1rem;
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #e74c3c;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(231, 76, 60, 0.3);
}

.logout-btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}

.logout-btn i {
    font-size: 1rem;
}

.logout-btn span {
    font-size: 0.95rem;
}

.account-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(39, 174, 96, 0.3);
}

.account-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
}

.account-btn i {
    font-size: 1rem;
}

.account-btn span {
    font-size: 0.95rem;
}

.password-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.password-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #34495e;
    margin-bottom: 1.5rem;
    font-family: 'Lato', sans-serif;
}



.main-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(52, 152, 219, 0.3);
}

.nav-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

.nav-link.active {
    background: linear-gradient(135deg, #2980b9 0%, #1f618d 100%);
    box-shadow: 0 2px 10px rgba(41, 128, 185, 0.4);
}

.nav-link i {
    font-size: 1rem;
}

.nav-link span {
    font-size: 0.95rem;
}

/* Dashboard Styles */
.dashboard-header {
    text-align: center;
    margin-bottom: 3rem;
}

.dashboard-title {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.dashboard-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    color: #7f8c8d;
    margin: 0;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.dashboard-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.card-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ffffff;
    flex-shrink: 0;
}

.guides-icon {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.instructors-icon {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
}

.bookings-icon {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
}

.payments-icon {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.card-title-section {
    flex: 1;
}

.card-title {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #2c3e50;
    margin: 0 0 0.25rem 0;
}

.card-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    color: #7f8c8d;
    margin: 0;
}

.card-stats {
    margin-bottom: 1.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.stat-number {
    font-family: 'Lato', sans-serif;
    font-weight: 900;
    font-size: 2rem;
    color: #2c3e50;
}

.stat-label {
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn-primary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

.btn-secondary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: #ffffff;
    color: #3498db;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid #3498db;
}

.btn-secondary:hover {
    background: #3498db;
    color: #ffffff;
    transform: translateY(-2px);
}

.recent-activity {
    margin-top: 2rem;
}

.section-title {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.activity-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.activity-placeholder {
    text-align: center;
    padding: 2rem;
    color: #bdc3c7;
}

.activity-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.activity-placeholder p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    margin: 0;
}

/* Settings Styles */
.settings-sections {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.settings-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.settings-card-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.settings-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #ffffff;
    flex-shrink: 0;
}

.google-icon {
    background: linear-gradient(135deg, #4285f4 0%, #34a853 50%, #fbbc05 75%, #ea4335 100%);
}

.sync-icon {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.settings-title-section {
    flex: 1;
}

.settings-title {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #2c3e50;
    margin: 0 0 0.5rem 0;
}

.settings-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: #7f8c8d;
    margin: 0;
}

.settings-status {
    flex-shrink: 0;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

.status-active {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-inactive {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.settings-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-help {
    display: block;
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 0.5rem;
    font-style: italic;
}

.settings-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.sync-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sync-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f8f9fa;
}

.sync-label {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    color: #495057;
}

.sync-value {
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    color: #2c3e50;
}

.sync-actions {
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.google-auth-section {
    margin-top: 1rem;
}

.auth-description {
    font-family: 'Roboto', sans-serif;
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.auth-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.auth-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.auth-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.auth-label {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    color: #495057;
}

.auth-value {
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    color: #2c3e50;
}

.events-preview {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.events-title {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.event-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.event-item:hover {
    background: #f8f9fa;
    border-color: #3498db;
}

.event-time {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    color: #3498db;
    font-size: 0.9rem;
    flex-shrink: 0;
    min-width: 80px;
}

.event-title {
    font-family: 'Roboto', sans-serif;
    color: #495057;
    flex: 1;
}

/* Calendar Events Styles */
.calendar-events {
    margin-top: 2rem;
}

.events-table {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    margin-bottom: 0;
    width: 100% !important;
    table-layout: fixed;
}

.events-table thead {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #ffffff;
}

.events-table thead th {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 1rem 0.75rem;
    border: none;
    text-align: left;
    vertical-align: middle;
}

.events-table thead th i {
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

.events-table tbody tr {
    transition: all 0.2s ease;
}

.events-table tbody tr:hover {
    background-color: #f8f9fa;
    transform: scale(1.001);
}

.events-table td {
    padding: 1rem 0.75rem;
    vertical-align: middle;
    border-top: 1px solid #e9ecef;
}

.event-datetime-cell {
    width: 15%;
}

.datetime-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.date-part {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    color: #2c3e50;
    font-size: 0.9rem;
}

.time-part {
    font-family: 'Roboto', sans-serif;
    font-size: 0.8rem;
    color: #3498db;
    font-weight: 500;
}

.event-title-cell {
    width: 30%;
}

.event-title-cell strong {
    font-family: 'Lato', sans-serif;
    color: #2c3e50;
    font-size: 1rem;
    word-wrap: break-word;
}

.event-location-cell {
    width: 20%;
}

.location-text {
    font-family: 'Roboto', sans-serif;
    color: #e74c3c;
    font-size: 0.9rem;
    font-weight: 500;
    word-wrap: break-word;
}

.event-description-cell {
    width: 25%;
}

.description-text {
    font-family: 'Roboto', sans-serif;
    color: #7f8c8d;
    font-size: 0.85rem;
    line-height: 1.4;
    word-wrap: break-word;
}

.event-actions-cell {
    width: 10%;
    text-align: center;
}

.btn-group .btn {
    border-radius: 6px;
    font-size: 0.8rem;
    padding: 0.375rem 0.5rem;
}

.btn-group .btn:first-child {
    margin-right: 0.25rem;
}

.no-events {
    background: #ffffff;
    border-radius: 12px;
    margin-top: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.alert {
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert i {
    font-size: 1.1rem;
}

.alert-warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
}

.alert-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

/* Search Section Styles */
.search-section {
    margin: 2rem 0;
}

.search-form {
    margin-bottom: 1rem;
}

.search-input-group {
    display: flex;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    overflow: hidden;
}

.search-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    outline: none;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    background: transparent;
}

.search-input::placeholder {
    color: #6c757d;
}

.search-btn {
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #ffffff;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.search-btn:hover {
    background: linear-gradient(135deg, #2980b9 0%, #2471a3 100%);
}

.clear-search-btn {
    padding: 1rem;
    background: #e74c3c;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.clear-search-btn:hover {
    background: #c0392b;
    color: #ffffff;
}

.search-results-info {
    text-align: center;
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    color: #495057;
    font-family: 'Roboto', sans-serif;
    margin-top: 1rem;
}

.search-results-info i {
    margin-right: 0.5rem;
    color: #3498db;
}

/* Instructions and Manual Pages Styles */
.instructions-content,
.manual-content {
    padding: 2rem 0;
}

.instruction-section,
.manual-section {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid #e9ecef;
}

.instruction-content,
.manual-content-inner {
    color: #495057;
    line-height: 1.7;
}

.feature-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.highlight-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.highlight-item i {
    color: #3498db;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    display: block;
}

.highlight-item strong {
    color: #2c3e50;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.stats-explanation {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f8f9fa;
    padding: 1.25rem;
    border-radius: 8px;
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon.blue {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #ffffff;
}

.stat-icon.green {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    color: #ffffff;
}

.stat-icon.orange {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: #ffffff;
}

.stat-icon.purple {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
    color: #ffffff;
}

.stat-details strong {
    color: #2c3e50;
    font-size: 1rem;
    display: block;
    margin-bottom: 0.25rem;
}

.process-steps {
    margin: 2rem 0;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.step-number {
    background: #3498db;
    color: #ffffff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content strong {
    color: #2c3e50;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.feature-box {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #27ae60;
    margin: 2rem 0;
}

.feature-box h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.feature-box ul {
    margin: 0;
    padding-left: 1.5rem;
}

.feature-box li {
    margin-bottom: 0.5rem;
}

.calendar-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.calendar-type {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.calendar-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.calendar-icon.guide {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #ffffff;
}

.calendar-icon.instructor {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #ffffff;
}

.calendar-details strong {
    color: #2c3e50;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.sync-workflow {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.sync-workflow h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.sync-workflow ol {
    padding-left: 1.5rem;
}

.sync-workflow li {
    margin-bottom: 0.5rem;
}

.management-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.feature-group {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.feature-group h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.feature-group ul {
    margin: 0;
    padding-left: 1.5rem;
}

.filter-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.filter-item {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.filter-item i {
    color: #3498db;
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.filter-item strong {
    color: #2c3e50;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.tip-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e9ecef;
}

.tip-card i {
    color: #3498db;
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.tip-card h4 {
    color: #2c3e50;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

/* Manual Configuration Styles */
.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.requirement-item {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.requirement-item i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 1rem;
    display: block;
}

.requirement-item h4 {
    color: #2c3e50;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.config-steps {
    margin: 2rem 0;
}

.config-step {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.step-header {
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.step-header .step-number {
    background: #3498db;
    color: #ffffff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.step-header h4 {
    color: #2c3e50;
    margin: 0;
    font-size: 1.1rem;
}

.step-content {
    padding: 1.5rem;
}

.step-content ol,
.step-content ul {
    padding-left: 1.5rem;
}

.step-content li {
    margin-bottom: 0.5rem;
}

.code-block {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
    border-left: 4px solid #3498db;
    font-family: 'Courier New', monospace;
    margin: 1rem 0;
}

.env-variables {
    margin: 1.5rem 0;
}

.env-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    border-left: 4px solid #27ae60;
}

.env-item code {
    background: #e9ecef;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    color: #e74c3c;
}

.setup-workflow {
    margin: 2rem 0;
}

.workflow-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-icon i {
    font-size: 1.5rem;
}

.step-details h4 {
    color: #2c3e50;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.calendar-id-steps {
    margin: 2rem 0;
}

.id-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.id-step .step-number {
    background: #27ae60;
    color: #ffffff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.id-step h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.event-format-guide {
    margin: 2rem 0;
}

.format-example {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.example-header {
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.example-header h4 {
    margin: 0;
    font-size: 1.1rem;
}

.example-content {
    padding: 1.5rem;
}

.event-sample {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    border-left: 4px solid;
}

.event-sample.correct {
    border-left-color: #27ae60;
    background: #d4edda;
}

.event-sample.incorrect {
    border-left-color: #e74c3c;
    background: #f8d7da;
}

.event-sample strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.format-rules {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.format-rules h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.format-rules ul {
    margin: 0;
    padding-left: 1.5rem;
}

.sync-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.sync-type {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.sync-type i {
    color: #3498db;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: block;
}

.sync-type h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.sync-best-practices {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.sync-best-practices h4 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.practice-item {
    background: #ffffff;
    padding: 1.25rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    text-align: center;
}

.practice-item i {
    color: #3498db;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    display: block;
}

.practice-item strong {
    color: #2c3e50;
    display: block;
    margin-bottom: 0.5rem;
}

.troubleshooting-guide {
    margin: 2rem 0;
}

.problem-solution {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.problem {
    background: #fff3cd;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.problem h4 {
    margin: 0;
    color: #856404;
    font-size: 1rem;
}

.solution {
    padding: 1.5rem;
}

.solution ul {
    margin: 0.5rem 0 0;
    padding-left: 1.5rem;
}

.security-checklist {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.security-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #e74c3c;
}

.security-item i {
    color: #e74c3c;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: block;
}

.security-item h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.security-item ul {
    margin: 0;
    padding-left: 1.5rem;
}

/* Pagination Styles */
.pagination-section {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.pagination {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.25rem;
}

.page-item {
    display: flex;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    min-width: 45px;
    height: 45px;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    color: #495057;
    background: #ffffff;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.page-link:hover {
    background: #f8f9fa;
    border-color: #3498db;
    color: #3498db;
    text-decoration: none;
}

.page-item.active .page-link {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-color: #3498db;
    color: #ffffff;
}

.page-item.disabled .page-link {
    color: #6c757d;
    background: #ffffff;
    border-color: #dee2e6;
    cursor: not-allowed;
}

.pagination-info {
    font-family: 'Roboto', sans-serif;
    color: #6c757d;
    font-size: 0.9rem;
    text-align: center;
}

@media (max-width: 768px) {
    .events-table thead th {
        padding: 0.75rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .events-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
    }
    
    .event-description-cell {
        display: none;
    }
    
    .event-location-cell {
        max-width: 120px;
    }
    
    .location-text {
        font-size: 0.8rem;
    }
    
    .btn-group .btn {
        padding: 0.25rem 0.4rem;
        font-size: 0.75rem;
    }
    
    .search-input-group {
        max-width: 100%;
        margin: 0;
    }
    
    .search-input {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .search-btn, .clear-search-btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .page-link {
        padding: 0.5rem 0.75rem;
        min-width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .events-table {
        font-size: 0.8rem;
    }
    
    .events-table thead th {
        padding: 0.5rem 0.25rem;
        font-size: 0.75rem;
    }
    
    .events-table td {
        padding: 0.5rem 0.25rem;
    }
    
    .event-description-cell,
    .event-location-cell {
        display: none;
    }
    
    .datetime-info {
        gap: 0.1rem;
    }
    
    .date-part {
        font-size: 0.8rem;
    }
    
    .time-part {
        font-size: 0.7rem;
    }
    
    .event-title-cell strong {
        font-size: 0.85rem;
    }
    
    .btn-group {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .btn-group .btn {
        padding: 0.25rem;
        font-size: 0.7rem;
        width: 100%;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .logo-container {
        gap: 0.5rem;
    }
    
    .logo-icon {
        width: 36px;
        height: 36px;
    }
}
