html {
    min-height: 100%;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    padding-bottom: 10rem;
    min-height: 100vh;
    background-color: #eeac60;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 75% 50%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(circle at 25% 50%, rgba(235, 235, 235, 0.8), transparent);
    background-blend-mode: overlay;
    z-index: -1;
}

/* Navbar styles */
/* Navbar personalizada - Prefijo custom- para evitar conflictos */
.custom-navbar {
    background-color: #eeac60;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 1rem;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.custom-navbar .navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #0d6efd;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.custom-navbar .navbar-brand img {
    border: 0;
    width: 25%;
    height: 25%;
}

.custom-navbar .navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.custom-navbar .navbar-toggler:focus {
    box-shadow: none;
}

.custom-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.custom-navbar .nav-link {
    font-weight: 500;
    color: #495057;
    padding: 0.5rem 1rem;
    margin: 0 0.15rem;
    position: relative;
    transition: all 0.3s ease;
}

.custom-navbar .nav-link:hover,
.custom-navbar .nav-link:focus {
    color: #2c9200;
}

.custom-navbar .nav-link.active {
    color: #2c9200;
    font-weight: 600;
}

.custom-navbar .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: #2c9200;
    border-radius: 2px;
}

.custom-navbar .dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.custom-navbar .dropdown-item {
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    transition: all 0.2s;
}

.custom-navbar .dropdown-item:hover,
.custom-navbar .dropdown-item:focus {
    background-color: rgba(13, 110, 253, 0.1);
    color: #2c9200;
}

.custom-navbar .navbar-collapse {
    flex-grow: 0;
}

/* Estilo para el CTA especial */
.custom-navbar .nav-cta {
    background-color: #2c9200;
    color: white !important;
    border-radius: 0.5rem;
    padding: 0.5rem 1.25rem !important;
    margin-left: 0.5rem;
    transition: all 0.3s ease;
}

.custom-navbar .nav-cta:hover {
    background-color: #2c9200;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(13, 110, 253, 0.2);
}

/* Responsive */
@media (max-width: 991.98px) {
    .custom-navbar {
        padding: 0.75rem;
    }

    .custom-navbar .navbar-collapse {
        background-color: white;
        padding: 1rem;
        margin-top: 0.5rem;
        border-radius: 0.5rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .custom-navbar .nav-link {
        padding: 0.75rem 0;
        margin: 0;
    }

    .custom-navbar .nav-link.active::after {
        left: 0;
        right: auto;
        width: 3px;
        height: 24px;
        top: 50%;
        transform: translateY(-50%);
    }

    .custom-navbar .nav-cta {
        margin-left: 0;
        margin-top: 0.5rem;
        display: inline-block;
        width: 100%;
        text-align: center;
    }

    .custom-navbar .dropdown-menu {
        box-shadow: none;
        border-left: 3px solid #2c9200;
        margin-left: 1rem;
    }
}

/* Titles styles */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 20px 0;
    text-align: center;
}

/* Parragraph styles */
p {
    text-align: center;
    font-size: 1.2rem;
    margin: 10px 0;
    color: #333;
}

/* Footer styles */
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
}

footer {
    background-color: #eeac60;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--accent-color);
}

/* LOGIN-REGISTER FORM STYLES */
.login-container {
    margin: 50px auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 400px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo h1 {
    color: #333;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 8px;
}

.logo p {
    color: #666;
    font-size: 14px;
    font-weight: 400;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    color: #555;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.form-group input {
    width: 100%;
    padding: 16px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 16px;
    background: #fff;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.form-group input:focus + label {
    color: #667eea;
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 60px;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #667eea;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 14px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #667eea;
}

.remember-me label {
    color: #666;
    cursor: pointer;
}

.forgot-password {
    color: #2c9200;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #4ae309;
}

.login-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #4ae309 0%, #2c9200 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(3, 161, 129, 0.3);
}

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

.signup-link {
    text-align: center;
    margin-top: 30px;
    color: #666;
    font-size: 14px;
}

.signup-link a {
    color: #2c9200;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.signup-link a:hover {
    color: #4ae309;
}

.text-red-600{
    color: #e3342f;
}

@media (max-width: 480px) {
    .login-container {
        padding: 30px 20px;
    }
}


/* ABOUT US PAGE STYLES */
.title-us {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 10px;
}

.hero-section {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 50px;
    margin-bottom: 40px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: 3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #7f8c8d;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.5;
    text-align: justify;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c9200;
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.content-sections {
    display: grid;
    gap: 30px;
    margin-bottom: 50px;
}

.section-card {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
}

.section-card:hover {
    transform: translateY(-5px);
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

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

.section-content {
    color: #5a6c7d;
    line-height: 1.7;
    font-size: 1.1rem;
}

.section-content p {
    margin-bottom: 15px;
    text-align: justify;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.value-item {
    background: rgba(248,249,250,0.8);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    border-left: 4px solid #4ae309;
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-3px);
}

.value-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    display: block;
}

.value-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.value-description {
    font-size: 0.95rem;
    color: #7f8c8d;
    line-height: 1.5;
}

.team-section {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    animation: fadeInUp 0.8s ease-out;
}

.team-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 40px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.team-member {
    background: rgba(248,249,250,0.8);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.member-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(45deg, #4ae309, #2c9200);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    border: 4px solid rgba(255,255,255,0.8);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.member-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.member-title {
    font-size: 1rem;
    color: #2c9200;
    font-weight: 500;
    margin-bottom: 15px;
}

.member-description {
    font-size: 0.95rem;
    color: #7f8c8d;
    line-height: 1.5;
    margin-bottom: 15px;
}

.member-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.specialty-tag {
    background: rgba(102, 126, 234, 0.1);
    color: #2c9200;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.cta-section {
    background: linear-gradient(45deg, #4ae309, #2c9200);
    color: white;
    padding: 50px;
    border-radius: 25px;
    text-align: center;
    margin-top: 50px;
    animation: fadeInUp 0.8s ease-out;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    text-decoration: none;
    display: inline-block;
}

.cta-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.cta-btn.primary {
    background: white;
    color: #2c9200;
}

.cta-btn.primary:hover {
    background: rgba(255,255,255,0.9);
}

/* Responsive styles */
@media (max-width: 768px) {
   .hero-section {
        padding: 30px 20px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-card {
        padding: 25px;
    }

    .section-title {
        font-size: 1.5rem;
        flex-direction: column;
        text-align: center;
    }

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

    .cta-section {
        padding: 30px 20px;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* COURSES CARDS STYLES */
.header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInDown 1s ease-out;
}
.header h1 {
    color: rgb(0, 0, 0);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header p {
    color: rgba(0, 0, 0, 0.9);
    font-size: 1.2rem;
    font-weight: 300;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.course-card {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4ae309, #2c9200);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.course-card:hover::before {
    transform: scaleX(1);
}

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

.course-level {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(45deg, #efda7d, #f3db05);
    color: black;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.course-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.course-description {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: justify;
}

.course-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.course-duration, .course-price {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #5a6c7d;
    font-size: 0.9rem;
}

.course-duration::before {
    content: '🕐';
}

.enroll-btn {
    width: 100%;
    padding: 12px 24px;
    background: linear-gradient(45deg, #4ae309, #2c9200);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.enroll-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(12, 70, 10, 0.4);
}

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

 @keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.course-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive styles */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }

    .courses-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .course-card {
        padding: 20px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .courses-header h1 {
        font-size: 2rem;
    }

    .filter-controls {
        flex-direction: column;
        align-items: center;
    }

    .search-bar {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .courses-grid {
        grid-template-columns: 1fr;
    }
}

/* DETAILS COURSE PAGE */
.header-details {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    margin-top: 30px;
    animation: fadeInDown 1s ease-out;
}

.name-school {
    font-size: 2rem;
    font-weight: 600;
    color: #2c3e50;
}

.course-details-container{
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    animation: fadeInUp 0.8s ease-out;
}

.course-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.course-title-section {
    flex: 1;
    min-width: 300px;
}

.course-level-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(45deg, #efda7d, #f3db05);
    color: black;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.course-title-details{
    font-size: 2.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    line-height: 1.2;
}

 .course-subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    font-weight: 300;
}

.course-meta {
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 200px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.meta-icon {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: #27ae60;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.main-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.section {
    background: rgba(248,249,250,0.8);
    padding: 25px;
    border-radius: 15px;
    border-left: 4px solid #4ae309;
}

.section h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-icon {
    font-size: 1.4rem;
}

.section p {
    color: #5a6c7d;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: justify;
}

.objectives-list {
    list-style: none;
    padding: 0;
}

.objectives-list li {
    color: #5a6c7d;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    line-height: 1.5;
}

.objectives-list li::before {
    content: '✓';
    color: #27ae60;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card {
    background: rgba(248,249,250,0.8);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.info-card h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.requirements-list {
    list-style: none;
    padding: 0;
}

.requirements-list li {
    color: #5a6c7d;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    font-size: 0.9rem;
}

.requirements-list li::before {
    content: '•';
    color: #2c9200;
    position: absolute;
    left: 0;
    top: 0;
}

.enroll-section {
    background: linear-gradient(45deg, #4ae309, #2c9200);
    color: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    margin-top: 20px;
}

.enroll-btn-details{
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    margin-top: 15px;
}

.enroll-btn-details:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.instructor-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(248,249,250,0.8);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.instructor-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, #4ae309, #2c9200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.instructor-info h4 {
    color: #2c3e50;
    margin-bottom: 5px;
}

.instructor-info p {
    color: #7f8c8d;
    font-size: 0.9rem;
    text-align: justify;
}

.back-btn {
    margin-top: 30px;
    text-align: start;
    width: 200px;
    background: #2c9200;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.back-btn:hover {
    background: #4ae309;
    transform: translateY(-2px);
}

.back-btn::before {
    content: '←';
    font-size: 1.2rem;
}

/* Responsive styles */
 @media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .header-details {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .course-details-container {
        padding: 20px;
    }

    .course-header {
        flex-direction: column;
        text-align: center;
    }

    .course-title-section {
        font-size: 2rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .instructor-card {
        flex-direction: column;
        text-align: center;
    }
}

/* PERSONAL COURSES PAGE STYLES*/
.container-personal {
    max-width: 1200px;
    margin: 0 auto;
}
.header-personal{
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 30px 40px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-personal h1 {
    color: #333;
    font-size: 32px;
    font-weight: 300;
}

.header-personal p {
    color: #666;
    font-size: 16px;
    margin-top: 5px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-details h3 {
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.stats-personal{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
    margin: 2px auto;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number-personal{
    font-size: 36px;
    font-weight: 600;
    color: #4ae309;
    margin-bottom: 10px;
}

.stat-label-personal{
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.course-card-personal{
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    margin: 10px;
}

.course-card-personal:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.course-header-personal{
    background: linear-gradient(135deg, #4ae309 0%, #2c9200 100%);
    color: white;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.course-header-personal::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.course-card-personal:hover .course-header-personal::before {
    transform: rotate(45deg) translateX(100%);
}

.course-title-personal{
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.course-instructor {
    font-size: 14px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.course-body {
    padding: 25px;
}

.course-progress {
    margin-bottom: 20px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e1e5e9;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4ae309 0%, #2c9200 100%);
    border-radius: 4px;
    transition: width 0.6s ease;
}

.course-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.course-duration-personal{
    color: #666;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.course-actions {
    display: flex;
    gap: 10px;
}

.btn-personal {
    padding: 12px 20px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary-personal {
    background: linear-gradient(135deg, #4ae309 0%, #2c9200 100%);
    color: white;
    border: 2px solid #2c9200;
}

.btn-warning-personal {
    background: linear-gradient(135deg, #efda7d 0%, #f3db05 100%);
    color: black;
    border: 2px solid #2c9200;
}

.btn-primary-personal:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.btn-secondary-personal {
    background: white;
    color: #2c9200;
    border: 2px solid #2c9200;
}

.btn-secondary-personal:hover {
    background: #4ae309;
    color: white;
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.empty-state h3 {
    color: #666;
    font-size: 24px;
    margin-bottom: 15px;
}

.empty-state p {
    color: #999;
    margin-bottom: 30px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .header-personal {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .courses-grid-personal {
        grid-template-columns: 1fr;
    }
    .course-actions {
        flex-direction: column;
    }
    .stats-personal {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .header-personal {
        padding: 20px;
    }

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

/* MATERIALS PAGE STYLES */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #4ae309;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #2c9200;
}

.course-header-materials{
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.course-info-materials h1 {
    color: #333;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 5px;
}

.course-info-materials p {
    color: #666;
    font-size: 16px;
}

.course-meta-materials{
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.meta-item-materials {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.progress-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.progress-header h3 {
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.progress-percentage {
    color: #4ae309;
    font-size: 18px;
    font-weight: 600;
}

.progress-bar-materials {
    width: 100%;
    height: 12px;
    background: #e1e5e9;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill-materials {
    height: 100%;
    background: linear-gradient(90deg, #4ae309 0%, #2c9200 100%);
    border-radius: 6px;
    transition: width 0.8s ease;
}

.materials-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.section-title-materials {
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

.section-description {
    color: #666;
    font-size: 16px;
}

.materials-grid {
    display: grid;
    gap: 20px;
}

.material-item {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.material-item:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.material-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.material-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
}

.material-info {
    flex: 1;
}

.material-title {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.material-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.action-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Sussess button */
.exito {
    background-color: #4ae309;
    color: white;
    border: 2px solid #2c9200;
}

/* Admin Dashboard Styles */
.admin-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.admin-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4ae309 0%, #2c9200 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 20px;
}

.admin-details h3 {
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.quick-actions {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.quick-actions h3 {
    color: #333;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.quick-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.quick-buttons a{
   text-decoration: none;
}

.quick-btn {
    background: linear-gradient(135deg, #4ae309 0%, #2c9200 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quick-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* Admin Group Styles */
 .header-groups {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.header-groups h1 {
    color: #2d3748;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.header-groups p {
    color: #718096;
    font-size: 1.1rem;
}

.add-group-btn {
    background: linear-gradient(135deg, #4ae309 0%, #2c9200 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
    margin-bottom: 30px;
}

.add-group-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4);
}

.groups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.group-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.group-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4ae309, #2c9200);
}

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

.group-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.group-title {
    color: #2d3748;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.group-info {
    margin-bottom: 25px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #4a5568;
    font-size: 0.95rem;
}

.action-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.action-buttons a {
    text-decoration: none;
}

.btn-group{
    border: none;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-edit {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    color: #744210;
}

.btn-delete {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    color: #742a2a;
}

.btn-group:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.group-level {
    background: linear-gradient(135deg, #efda7d 0%, #f3db05 100%);
    color: #744210;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.btn-view {
    background: linear-gradient(135deg, #99d1fc 0%, #62bdee 100%);
    color: white;
}

@media (max-width: 768px) {
    .groups-grid {
        grid-template-columns: 1fr;
    }

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

    .action-buttons {
        flex-wrap: wrap;
    }
}

/* FILTERS */

.filter-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.filter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.select-wrapper {
    position: relative;
    min-width: 250px;
}

.select-label {
    display: block;
    color: #4a5568;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.custom-select {
    appearance: none;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    padding: 15px 50px 15px 20px;
    font-size: 1rem;
    color: #2d3748;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-weight: 500;
}

.custom-select:focus {
    outline: none;
    border-color: #4ae309;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

.custom-select:hover {
    border-color: #cbd5e0;
    transform: translateY(-1px);
}

.add-material-btn {
    background: linear-gradient(135deg, #4ae309 0%, #2c9200 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
    margin-right: 0.5rem;
}

.add-material-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4);
}

.materials-section-search{
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    min-height: 400px;
}

.empty-state-search {
    text-align: center;
    padding: 60px 20px;
    color: #718096;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #4a5568;
}

.empty-description {
    font-size: 1rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .filter-row {
        flex-direction: column;
        align-items: stretch;
    }

    .select-wrapper {
        min-width: 100%;
    }

    .add-material-btn {
        margin-left: 0;
        width: 100%;
    }
}

.error-alert {
    background-color: #fee2e2;  /* bg-red-100 */
    border-left: 4px solid #ef4444;  /* border-l-4 border-red-500 */
    color: #b91c1c;  /* text-red-700 */
    padding: 1rem;  /* p-4 */
    border-radius: 0.375rem;  /* rounded-md */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);  /* shadow-md */
    max-width: 28rem;  /* max-w-md */
    margin: 1.25rem auto;  /* mx-auto my-5 */
    font-family: sans-serif;
}
