* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0fdff;
    color: #333;
    line-height: 1.6;
}

/* Fondo semitransparente del modal */
#LoadingModal {
    z-index: 99999;
    background: rgba(0, 0, 0, 0.3);
}
    #LoadingModal .modal-dialog {
        display: flex;
        align-items: center; /* centra vertical */
        justify-content: center; /* centra horizontal */
        min-height: 100vh; /* ocupa toda la altura */
    }

    /* Quitar cualquier relleno extra y centrar contenido */
    #LoadingModal .modal-content {
        width: 70px;
        background: transparent;
        border: none;
        box-shadow: none;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px;
    }

        /* Color del ícono */
        #LoadingModal .modal-content span {
            color: #62c9f5;
        }

/* Por si quieres controlar tú mismo la animación */
.fa-spinner {
    display: inline-block;
    animation: spin 1s linear infinite; /* duración y tipo de giro */
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/* Landing Page Styles */
.landing-page {
    min-height: 100vh;
}
/* Login Page Styles */
.login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #00acc1 0%, #00838f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    max-width: 1000px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

.login-left {
    background: linear-gradient(135deg, #00acc1 0%, #00838f 100%);
    color: white;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-brand {
    text-align: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 2rem;
}

    .brand-logo i {
        font-size: 3rem;
    }

.login-left h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.login-left p {
    font-size: 1.1rem;
    opacity: 0.9;
    text-align: center;
    margin-bottom: 2rem;
}

.login-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

    .feature-item i {
        font-size: 1.5rem;
        width: 40px;
        text-align: center;
    }

.login-right {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-form-container {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

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

    .login-header h2 {
        font-size: 2rem;
        color: #333;
        margin-bottom: 0.5rem;
    }

    .login-header p {
        color: #666;
        font-size: 1rem;
    }

.login-form .form-group {
    margin-bottom: 1.5rem;
}

.login-form label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

    .login-form label i {
        color: #00acc1;
        width: 16px;
    }

.login-form input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

    .login-form input:focus {
        outline: none;
        border-color: #00acc1;
        box-shadow: 0 0 0 3px rgba(0, 172, 193, 0.1);
    }

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
}

    .checkbox-label input[type="checkbox"] {
        width: auto;
        margin: 0;
    }

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 3px;
    position: relative;
}

.forgot-password {
    color: #00acc1;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

    .forgot-password:hover {
        color: #00838f;
    }

.login-footer {
    text-align: center;
    margin-top: 2rem;
}

    .login-footer p {
        color: #666;
        margin-bottom: 1rem;
    }

    .login-footer a {
        color: #00acc1;
        text-decoration: none;
        font-weight: 600;
    }

        .login-footer a:hover {
            color: #00838f;
        }

.back-to-home {
    margin-top: 1.5rem;
}

/* Demo Info */
.demo-info {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.demo-toggle {
    background: #00acc1;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 172, 193, 0.3);
    transition: all 0.3s ease;
    font-weight: 600;
}

    .demo-toggle:hover {
        background: #00838f;
        transform: translateY(-2px);
    }

.demo-content {
    display: none;
    position: absolute;
    bottom: 70px;
    right: 0;
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    min-width: 300px;
}

    .demo-content h4 {
        color: #333;
        margin-bottom: 1rem;
        text-align: center;
    }

.demo-users {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.demo-user {
    padding: 0.75rem;
    background: #e0f7fa;
    border-radius: 8px;
    font-size: 0.9rem;
    border-left: 4px solid #00acc1;
}

    .demo-user strong {
        color: #00acc1;
    }

.text-danger {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-container {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .login-left {
        display: none;
    }

    .login-right {
        padding: 2rem;
    }

    .demo-info {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 2rem;
    }

    .demo-content {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 1rem;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .login-page {
        padding: 1rem;
    }

    .login-right {
        padding: 1.5rem;
    }

    .login-left h1 {
        font-size: 2rem;
    }

    .brand-logo {
        font-size: 1.5rem;
    }
}

/* Navbar */
.landing-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    width: 100%; /* ocupa todo el ancho de la pantalla */
    max-width: 1200px; /* pero no más de 1200px */
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto; /* centrado horizontal */
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: #00acc1;
}

    .nav-logo i {
        font-size: 2rem;
    }

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

    .nav-menu a {
        text-decoration: none;
        color: #333;
        font-weight: 500;
        transition: color 0.3s ease;
    }

        .nav-menu a:hover {
            color: #00acc1;
        }

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

    .hamburger span {
        width: 25px;
        height: 3px;
        background: #333;
        margin: 3px 0;
        transition: 0.3s;
    }

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #00acc1 0%, #00838f 100%);
    color: white;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

    .section-header h2 {
        font-size: 2.5rem;
        font-weight: bold;
        margin-bottom: 1rem;
        color: #333;
    }

    .section-header p {
        font-size: 1.1rem;
        color: #666;
    }

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00acc1 0%, #00838f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #333;
}

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

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background: #e0f7fa;
}

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

.pricing-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .pricing-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    }

    .pricing-card.featured {
        border: 3px solid #00acc1;
        transform: scale(1.05);
    }

.pricing-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #00acc1;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

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

    .pricing-header h3 {
        font-size: 1.5rem;
        font-weight: bold;
        margin-bottom: 1rem;
        color: #333;
    }

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.currency {
    font-size: 1.2rem;
    color: #666;
}

.amount {
    font-size: 3rem;
    font-weight: bold;
    color: #00acc1;
}

.period {
    font-size: 1rem;
    color: #666;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

    .pricing-features li {
        padding: 0.75rem 0;
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .pricing-features i.fa-check {
        color: #28a745;
    }

    .pricing-features i.fa-times {
        color: #dc3545;
    }

/* Contact Section */
.contact {
    padding: 80px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #333;
}

.contact-info p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

    .contact-item i {
        width: 40px;
        height: 40px;
        background: #00acc1;
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

.contact-form {
    background: #e0f7fa;
    padding: 2rem;
    border-radius: 10px;
}

    .contact-form .form-group {
        margin-bottom: 1.5rem;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        width: 100%;
        padding: 1rem;
        border: 1px solid #ddd;
        border-radius: 5px;
        font-size: 1rem;
        transition: border-color 0.3s ease;
    }

        .contact-form input:focus,
        .contact-form select:focus,
        .contact-form textarea:focus {
            outline: none;
            border-color: #00acc1;
        }

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

    .footer-section ul li {
        margin-bottom: 0.5rem;
    }

        .footer-section ul li a {
            color: #ccc;
            text-decoration: none;
            transition: color 0.3s ease;
        }

            .footer-section ul li a:hover {
                color: white;
            }

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 1rem;
    text-align: center;
    color: #ccc;
}

/* Login Page Styles */
.login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #00acc1 0%, #00838f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    max-width: 1000px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

.login-left {
    background: linear-gradient(135deg, #00acc1 0%, #00838f 100%);
    color: white;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-brand {
    text-align: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 2rem;
}

    .brand-logo i {
        font-size: 3rem;
    }

.login-left h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.login-left p {
    font-size: 1.1rem;
    opacity: 0.9;
    text-align: center;
    margin-bottom: 2rem;
}

.login-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

    .feature-item i {
        font-size: 1.5rem;
        width: 40px;
        text-align: center;
    }

.login-right {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-form-container {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

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

    .login-header h2 {
        font-size: 2rem;
        color: #333;
        margin-bottom: 0.5rem;
    }

    .login-header p {
        color: #666;
        font-size: 1rem;
    }

.login-form .form-group {
    margin-bottom: 1.5rem;
}

.login-form label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

    .login-form label i {
        color: #00acc1;
        width: 16px;
    }

.login-form input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

    .login-form input:focus {
        outline: none;
        border-color: #00acc1;
        box-shadow: 0 0 0 3px rgba(0, 172, 193, 0.1);
    }

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
}

    .checkbox-label input[type="checkbox"] {
        width: auto;
        margin: 0;
    }

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 3px;
    position: relative;
}

.forgot-password {
    color: #00acc1;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

    .forgot-password:hover {
        color: #00838f;
    }

.login-footer {
    text-align: center;
    margin-top: 2rem;
}

    .login-footer p {
        color: #666;
        margin-bottom: 1rem;
    }

    .login-footer a {
        color: #00acc1;
        text-decoration: none;
        font-weight: 600;
    }

        .login-footer a:hover {
            color: #00838f;
        }

.back-to-home {
    margin-top: 1.5rem;
}

/* Demo Info */
.demo-info {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.demo-toggle {
    background: #00acc1;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 172, 193, 0.3);
    transition: all 0.3s ease;
    font-weight: 600;
}

    .demo-toggle:hover {
        background: #00838f;
        transform: translateY(-2px);
    }

.demo-content {
    display: none;
    position: absolute;
    bottom: 70px;
    right: 0;
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    min-width: 300px;
}

    .demo-content h4 {
        color: #333;
        margin-bottom: 1rem;
        text-align: center;
    }

.demo-users {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.demo-user {
    padding: 0.75rem;
    background: #e0f7fa;
    border-radius: 8px;
    font-size: 0.9rem;
    border-left: 4px solid #00acc1;
}

    .demo-user strong {
        color: #00acc1;
    }

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    text-align: center;
    justify-content: center;
}

.btn-primary1 {
    background: #00acc1 !important;
    color: white !important;
}

    .btn-primary1:hover {
        background: #00838f;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 172, 193, 0.4);
    }

.btn-secondary {
    background: #6c757d;
    color: white;
}

    .btn-secondary:hover {
        background: #5a6268;
    }

.btn-outline {
    background: transparent !important;
    color: white !important;
    border: 2px solid white !important;
}

    .btn-outline:hover {
        background: white;
        color: #00acc1;
    }

.btn-success {
    background: #28a745;
    color: white;
}

    .btn-success:hover {
        background: #218838;
    }

.btn-danger {
    background: #dc3545;
    color: white;
}

    .btn-danger:hover {
        background: #c82333;
    }

.btn-warning {
    background: #ffc107;
    color: #212529;
}

    .btn-warning:hover {
        background: #e0a800;
    }

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
}

/* Dashboard Styles */
.dashboard {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

    .dashboard .container {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }

/* Header */
.header {
    background: linear-gradient(135deg, #00acc1 0%, #00838f 100%);
    color: white;
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.header h1 {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Header Logo */
.header-logo {
    height: 40px;
    width: auto;
    margin-right: 1rem;
}

.header-left {
    display: flex;
    align-items: center;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Navigation */
.nav {
    background: white;
    padding: 0 2rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.nav-btn {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .nav-btn:hover {
        color: #00acc1;
        background-color: #e0f7fa;
    }

    .nav-btn.active {
        color: #00acc1;
        border-bottom-color: #00acc1;
        background-color: #e0f7fa;
    }

/* Main Content */
.main {
    flex: 1;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section {
    display: none;
}

    .section.active {
        display: block;
    }

    .section h2 {
        margin-bottom: 1.5rem;
        color: #333;
        font-size: 1.8rem;
    }

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.stat-card:nth-child(1) .stat-icon {
    background: #00acc1;
}

.stat-card:nth-child(2) .stat-icon {
    background: #26c6da;
}

.stat-card:nth-child(3) .stat-icon {
    background: #4dd0e1;
}

.stat-card:nth-child(4) .stat-icon {
    background: #00838f;
}

.stat-info h3 {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
}

.stat-info p {
    color: #666;
    font-size: 0.9rem;
}

/* Groups Attendance Styles */
.groups-attendance {
    background: #f0fdff;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.groups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.group-card {
    background: #e0f7fa;
    border: 2px solid #4dd0e1;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .group-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(77, 208, 225, 0.3);
    }

.group-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #00695c;
    margin-bottom: 0.5rem;
}

.group-attendance {
    font-size: 1.1rem;
    color: #00838f;
    font-weight: 500;
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

/* Tables */
.table-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #333;
}

tr:hover {
    background-color: #e0f7fa;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
}

/* Filters */
.filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

    .filters select,
    .filters input {
        padding: 0.75rem;
        border: 1px solid #ddd;
        border-radius: 5px;
        font-size: 0.9rem;
    }

    .filters input {
        flex: 1;
    }

/* Modals */
/*.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .modal-header h3 {
        margin: 0;
        color: #333;
    }*/

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

    .close:hover {
        color: #333;
    }

.modal form {
    padding: 1.5rem;
}

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

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 500;
        color: #333;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 0.75rem;
        border: 1px solid #ddd;
        border-radius: 5px;
        font-size: 0.9rem;
    }

    .form-group textarea {
        resize: vertical;
        min-height: 80px;
    }

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

.permissions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
    margin-top: 0.5rem;
}

    .permissions-grid label {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-weight: normal;
    }

/* Attendance */
.attendance-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.scanner-section,
.attendance-list {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

    .scanner-section h3,
    .attendance-list h3 {
        margin-bottom: 1rem;
        color: #333;
    }

.scanner-controls {
    margin-bottom: 1rem;
}

#scanner,
#teacher-scanner,
#admin-scanner {
    width: 100%;
    max-width: 400px;
    margin: 1rem 0;
}

.manual-entry {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.input-group {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

    .input-group input {
        flex: 1;
        padding: 0.75rem;
        border: 1px solid #ddd;
        border-radius: 5px;
    }

.date-selector {
    margin-bottom: 1rem;
}

    .date-selector input {
        padding: 0.5rem;
        border: 1px solid #ddd;
        border-radius: 5px;
    }

.attendance-records {
    max-height: 400px;
    overflow-y: auto;
}

.attendance-record {
    padding: 0.75rem;
    border: 1px solid #eee;
    border-radius: 5px;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .attendance-record.present {
        background-color: #d4edda;
        border-color: #c3e6cb;
    }

/* Recent Activity */
.recent-activity {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

    .recent-activity h3 {
        margin-bottom: 1rem;
        color: #333;
    }

.activity-list {
    max-height: 300px;
    overflow-y: auto;
}

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

    .activity-item:last-child {
        border-bottom: none;
    }

.activity-time {
    color: #666;
    font-size: 0.8rem;
}

/* Reports */
.reports-container {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.report-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

    .filter-group label {
        font-weight: 500;
        color: #333;
    }

    .filter-group select,
    .filter-group input {
        padding: 0.75rem;
        border: 1px solid #ddd;
        border-radius: 5px;
    }

.report-results {
    margin-top: 1rem;
}

.report-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.summary-card {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
}

    .summary-card h4 {
        font-size: 1.5rem;
        color: #00acc1;
        margin-bottom: 0.5rem;
    }

/* Settings */
.settings-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.settings-section {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

    .settings-section h3 {
        margin-bottom: 1.5rem;
        color: #333;
    }

/* Subscription Stats */
.subscription-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

/* Messages */
#message-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
}

.message {
    padding: 1rem 1.5rem;
    border-radius: 5px;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.3s ease;
}

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

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

    .message.info {
        background-color: #d1ecf1;
        color: #0c5460;
        border: 1px solid #bee5eb;
    }

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .login-container {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .login-left {
        display: none;
    }

    .login-right {
        padding: 2rem;
    }

    .demo-info {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 2rem;
    }

    .demo-content {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 1rem;
        min-width: auto;
    }

    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .nav {
        flex-wrap: wrap;
        padding: 0 1rem;
    }

    .nav-btn {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }

        .nav-btn i {
            display: none;
        }

    .main {
        padding: 1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .attendance-container {
        grid-template-columns: 1fr;
    }

    .filters {
        flex-direction: column;
    }

    .section-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .report-filters {
        grid-template-columns: 1fr;
    }

    .settings-container {
        grid-template-columns: 1fr;
    }

    .modal-content {
        margin: 10% auto;
        width: 95%;
    }

    .groups-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .login-page {
        padding: 1rem;
    }

    .login-right {
        padding: 1.5rem;
    }

    .login-left h1 {
        font-size: 2rem;
    }

    .brand-logo {
        font-size: 1.5rem;
    }

    .header {
        padding: 1rem;
    }

        .header h1 {
            font-size: 1.2rem;
        }

    .nav-btn {
        padding: 0.5rem 0.75rem;
    }

        .nav-btn i {
            display: none;
        }

    .stat-card {
        padding: 1rem;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .stat-info h3 {
        font-size: 1.5rem;
    }

    .groups-grid {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}



.btn-outline-primary {
    color: #4e73df;
    border-color: #4e73df
}

    .btn-outline-primary:hover {
        color: #fff;
        background-color: #4e73df;
        border-color: #4e73df
    }

    .btn-outline-primary:focus, .btn-outline-primary.focus {
        -webkit-box-shadow: 0 0 0 .2rem rgba(78,115,223,.5);
        box-shadow: 0 0 0 .2rem rgba(78,115,223,.5)
    }

    .btn-outline-primary.disabled, .btn-outline-primary:disabled {
        color: #4e73df;
        background-color: transparent
    }

    .btn-outline-primary:not(:disabled):not(.disabled):active, .btn-outline-primary:not(:disabled):not(.disabled).active, .show > .btn-outline-primary.dropdown-toggle {
        color: #fff;
        background-color: #4e73df;
        border-color: #4e73df
    }

        .btn-outline-primary:not(:disabled):not(.disabled):active:focus, .btn-outline-primary:not(:disabled):not(.disabled).active:focus, .show > .btn-outline-primary.dropdown-toggle:focus {
            -webkit-box-shadow: 0 0 0 .2rem rgba(78,115,223,.5);
            box-shadow: 0 0 0 .2rem rgba(78,115,223,.5)
        }

.btn-outline-secondary {
    color: #858796;
    border-color: #858796
}

    .btn-outline-secondary:hover {
        color: #fff;
        background-color: #858796;
        border-color: #858796
    }

    .btn-outline-secondary:focus, .btn-outline-secondary.focus {
        -webkit-box-shadow: 0 0 0 .2rem rgba(133,135,150,.5);
        box-shadow: 0 0 0 .2rem rgba(133,135,150,.5)
    }

    .btn-outline-secondary.disabled, .btn-outline-secondary:disabled {
        color: #858796;
        background-color: transparent
    }

    .btn-outline-secondary:not(:disabled):not(.disabled):active, .btn-outline-secondary:not(:disabled):not(.disabled).active, .show > .btn-outline-secondary.dropdown-toggle {
        color: #fff;
        background-color: #858796;
        border-color: #858796
    }

        .btn-outline-secondary:not(:disabled):not(.disabled):active:focus, .btn-outline-secondary:not(:disabled):not(.disabled).active:focus, .show > .btn-outline-secondary.dropdown-toggle:focus {
            -webkit-box-shadow: 0 0 0 .2rem rgba(133,135,150,.5);
            box-shadow: 0 0 0 .2rem rgba(133,135,150,.5)
        }

.btn-outline-success {
    color: #1cc88a;
    border-color: #1cc88a
}

    .btn-outline-success:hover {
        color: #fff;
        background-color: #1cc88a;
        border-color: #1cc88a
    }

    .btn-outline-success:focus, .btn-outline-success.focus {
        -webkit-box-shadow: 0 0 0 .2rem rgba(28,200,138,.5);
        box-shadow: 0 0 0 .2rem rgba(28,200,138,.5)
    }

    .btn-outline-success.disabled, .btn-outline-success:disabled {
        color: #1cc88a;
        background-color: transparent
    }

    .btn-outline-success:not(:disabled):not(.disabled):active, .btn-outline-success:not(:disabled):not(.disabled).active, .show > .btn-outline-success.dropdown-toggle {
        color: #fff;
        background-color: #1cc88a;
        border-color: #1cc88a
    }

        .btn-outline-success:not(:disabled):not(.disabled):active:focus, .btn-outline-success:not(:disabled):not(.disabled).active:focus, .show > .btn-outline-success.dropdown-toggle:focus {
            -webkit-box-shadow: 0 0 0 .2rem rgba(28,200,138,.5);
            box-shadow: 0 0 0 .2rem rgba(28,200,138,.5)
        }

.btn-outline-info {
    color: #36b9cc;
    border-color: #36b9cc
}

    .btn-outline-info:hover {
        color: #fff;
        background-color: #36b9cc;
        border-color: #36b9cc
    }

    .btn-outline-info:focus, .btn-outline-info.focus {
        -webkit-box-shadow: 0 0 0 .2rem rgba(54,185,204,.5);
        box-shadow: 0 0 0 .2rem rgba(54,185,204,.5)
    }

    .btn-outline-info.disabled, .btn-outline-info:disabled {
        color: #36b9cc;
        background-color: transparent
    }

    .btn-outline-info:not(:disabled):not(.disabled):active, .btn-outline-info:not(:disabled):not(.disabled).active, .show > .btn-outline-info.dropdown-toggle {
        color: #fff;
        background-color: #36b9cc;
        border-color: #36b9cc
    }

        .btn-outline-info:not(:disabled):not(.disabled):active:focus, .btn-outline-info:not(:disabled):not(.disabled).active:focus, .show > .btn-outline-info.dropdown-toggle:focus {
            -webkit-box-shadow: 0 0 0 .2rem rgba(54,185,204,.5);
            box-shadow: 0 0 0 .2rem rgba(54,185,204,.5)
        }

.btn-outline-warning {
    color: #f6c23e;
    border-color: #f6c23e
}

    .btn-outline-warning:hover {
        color: #fff;
        background-color: #f6c23e;
        border-color: #f6c23e
    }

    .btn-outline-warning:focus, .btn-outline-warning.focus {
        -webkit-box-shadow: 0 0 0 .2rem rgba(246,194,62,.5);
        box-shadow: 0 0 0 .2rem rgba(246,194,62,.5)
    }

    .btn-outline-warning.disabled, .btn-outline-warning:disabled {
        color: #f6c23e;
        background-color: transparent
    }

    .btn-outline-warning:not(:disabled):not(.disabled):active, .btn-outline-warning:not(:disabled):not(.disabled).active, .show > .btn-outline-warning.dropdown-toggle {
        color: #fff;
        background-color: #f6c23e;
        border-color: #f6c23e
    }

        .btn-outline-warning:not(:disabled):not(.disabled):active:focus, .btn-outline-warning:not(:disabled):not(.disabled).active:focus, .show > .btn-outline-warning.dropdown-toggle:focus {
            -webkit-box-shadow: 0 0 0 .2rem rgba(246,194,62,.5);
            box-shadow: 0 0 0 .2rem rgba(246,194,62,.5)
        }

.btn-outline-danger {
    color: #e74a3b;
    border-color: #e74a3b
}

    .btn-outline-danger:hover {
        color: #fff;
        background-color: #e74a3b;
        border-color: #e74a3b
    }

    .btn-outline-danger:focus, .btn-outline-danger.focus {
        -webkit-box-shadow: 0 0 0 .2rem rgba(231,74,59,.5);
        box-shadow: 0 0 0 .2rem rgba(231,74,59,.5)
    }

    .btn-outline-danger.disabled, .btn-outline-danger:disabled {
        color: #e74a3b;
        background-color: transparent
    }

    .btn-outline-danger:not(:disabled):not(.disabled):active, .btn-outline-danger:not(:disabled):not(.disabled).active, .show > .btn-outline-danger.dropdown-toggle {
        color: #fff;
        background-color: #e74a3b;
        border-color: #e74a3b
    }

        .btn-outline-danger:not(:disabled):not(.disabled):active:focus, .btn-outline-danger:not(:disabled):not(.disabled).active:focus, .show > .btn-outline-danger.dropdown-toggle:focus {
            -webkit-box-shadow: 0 0 0 .2rem rgba(231,74,59,.5);
            box-shadow: 0 0 0 .2rem rgba(231,74,59,.5)
        }

.btn-outline-light {
    color: #f8f9fc;
    border-color: #f8f9fc
}

    .btn-outline-light:hover {
        color: #3a3b45;
        background-color: #f8f9fc;
        border-color: #f8f9fc
    }

    .btn-outline-light:focus, .btn-outline-light.focus {
        -webkit-box-shadow: 0 0 0 .2rem rgba(248,249,252,.5);
        box-shadow: 0 0 0 .2rem rgba(248,249,252,.5)
    }

    .btn-outline-light.disabled, .btn-outline-light:disabled {
        color: #f8f9fc;
        background-color: transparent
    }

    .btn-outline-light:not(:disabled):not(.disabled):active, .btn-outline-light:not(:disabled):not(.disabled).active, .show > .btn-outline-light.dropdown-toggle {
        color: #3a3b45;
        background-color: #f8f9fc;
        border-color: #f8f9fc
    }

        .btn-outline-light:not(:disabled):not(.disabled):active:focus, .btn-outline-light:not(:disabled):not(.disabled).active:focus, .show > .btn-outline-light.dropdown-toggle:focus {
            -webkit-box-shadow: 0 0 0 .2rem rgba(248,249,252,.5);
            box-shadow: 0 0 0 .2rem rgba(248,249,252,.5)
        }

.btn-outline-dark {
    color: #5a5c69;
    border-color: #5a5c69
}

    .btn-outline-dark:hover {
        color: #fff;
        background-color: #5a5c69;
        border-color: #5a5c69
    }

    .btn-outline-dark:focus, .btn-outline-dark.focus {
        -webkit-box-shadow: 0 0 0 .2rem rgba(90,92,105,.5);
        box-shadow: 0 0 0 .2rem rgba(90,92,105,.5)
    }

    .btn-outline-dark.disabled, .btn-outline-dark:disabled {
        color: #5a5c69;
        background-color: transparent
    }

    .btn-outline-dark:not(:disabled):not(.disabled):active, .btn-outline-dark:not(:disabled):not(.disabled).active, .show > .btn-outline-dark.dropdown-toggle {
        color: #fff;
        background-color: #5a5c69;
        border-color: #5a5c69
    }

        .btn-outline-dark:not(:disabled):not(.disabled):active:focus, .btn-outline-dark:not(:disabled):not(.disabled).active:focus, .show > .btn-outline-dark.dropdown-toggle:focus {
            -webkit-box-shadow: 0 0 0 .2rem rgba(90,92,105,.5);
            box-shadow: 0 0 0 .2rem rgba(90,92,105,.5)
        }