/* Estilos del encabezado */
header {
    background: linear-gradient(to right, #7dd3fc, #8CD9FF, #7dd3fc);
    padding: 20px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.left-section, .right-section {
    display: flex;
    align-items: center;
}

.logo-container {
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 50%;
    background-color: #FFEB3B;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    margin-right: 20px;
}

.logo-container:hover {
    transform: scale(1.1);
}

.logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.panel {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 15px 50px;
    border-radius: 0 0 30px 30px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.panel h1 {
    margin: 0;
    color: #FF0000;
    font-size: 28px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

nav ul {
    display: flex;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 50px;
}

nav ul li a:hover {
    color: #FF0000;
    background-color: rgba(255, 255, 255, 0.1);
}

nav ul li a i {
    margin-right: 8px;
    font-size: 18px;
}

.bell-icon {
    font-size: 24px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 50%;
}

.bell-icon:hover {
    color: #FF0000;
    background-color: rgba(255, 255, 255, 0.1);
}

.header-decorator {
    height: 5px;
    background: linear-gradient(to right, #FF0000, #FF6B6B, #FF0000);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

/* Animaciones para elementos del nav */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-item {
    animation: fadeInDown 0.5s ease-out forwards;
    animation-delay: calc(var(--item-index) * 0.1s);
}

/* Responsive design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .left-section, .right-section {
        margin: 10px 0;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 10px 0;
    }

    .panel {
        position: static;
        transform: none;
        border-radius: 30px;
        margin-top: 20px;
    }
}

.bell-icon {
    position: relative;
}

.notification-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #FF0000;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
    min-width: 18px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.notifications-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 300px;
    max-height: 400px;
    overflow-y: auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    padding: 10px;
    display: none;
    z-index: 1000;
}

.notification-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s;
}

.notification-item:hover {
    background-color: #f5f5f5;
}

.notification-item i {
    font-size: 20px;
    color: #FF0000;
}

.notification-new {
    background-color: #fff3f3;
}