/* Navbar Elite Dropdown Styling - Intedii Online */

.student-dropdown-container {
    position: relative;
    display: inline-block;
}

.student-dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    width: 280px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
    padding: 24px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.student-dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Profile Header Section */
.dropdown-profile-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-profile-header .avatar {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    border: 2px solid white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.dropdown-profile-header .info h4 {
    font-size: 13px;
    font-weight: 800;
    color: #1e1e1e;
    margin: 0;
    line-height: 1.2;
}

.dropdown-profile-header .info span {
    font-size: 9px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Links List */
.dropdown-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dropdown-link-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
    text-decoration: none;
}

.dropdown-link-item:hover {
    background: #f8fafc;
    color: #0f172a;
    padding-left: 20px;
}

.dropdown-link-item i {
    font-size: 14px;
    width: 18px;
    text-align: center;
    color: #cbd5e1;
    transition: color 0.3s ease;
}

.dropdown-link-item:hover i {
    color: #d4af37;
}

/* Logout Item */
.dropdown-link-item.logout {
    margin-top: 12px;
    color: #ef4444;
}

.dropdown-link-item.logout:hover {
    background: #fef2f2;
}

.dropdown-link-item.logout i {
    color: #fecaca;
}

/* Indicator Arrow (for the trigger) */
.nav-user-area {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 6px 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.nav-user-area:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-user-area .chevron {
    font-size: 8px;
    color: #94a3b8;
    transition: transform 0.3s ease;
}

.nav-user-area.active .chevron {
    transform: rotate(180deg);
}

/* SvgButton Elite Animations (Global) */
.SvgButton {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    outline: none;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.Button-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    fill: none;
    pointer-events: none;
    overflow: visible;
}

.Button-line {
    stroke-width: 2;
    stroke-linejoin: round;
    stroke-linecap: round;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    vector-effect: non-scaling-stroke;
}

.Button-line--outer {
    stroke: #3b82f6; /* Azul Eléctrico */
    stroke-dasharray: 100, 400;
    stroke-dashoffset: 500;
    animation: border-run 8s linear infinite;
    filter: drop-shadow(0 0 5px #3b82f6);
}

.Button-line--inner {
    stroke: var(--gold); /* Dorado Elite */
    stroke-dasharray: 50, 200;
    stroke-dashoffset: 250;
    stroke-width: 1.5;
    filter: drop-shadow(0 0 5px var(--gold));
    animation: border-run 4s linear infinite reverse;
}

@keyframes border-run {
    from { stroke-dashoffset: 500; }
    to { stroke-dashoffset: 0; }
}

.SvgButton:hover .Button-line--outer {
    stroke: #60a5fa;
    stroke-width: 3;
    filter: drop-shadow(0 0 10px #60a5fa);
}

.SvgButton:hover .Button-line--inner {
    stroke: #ffffff;
    filter: drop-shadow(0 0 10px #ffffff);
}

.Button-content {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
