﻿/*body { font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial; }
a { text-decoration: none; }
.btn-dark { background: #000; border-color: #000; }
.btn-warning { background: #f7ff8a; border-color: #f7ff8a; color:#000 !important; }
.navbar { padding: 0.75rem 0; }
.card { border-radius: 12px; }*/


html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
/*    margin-bottom: 60px;*/
}
/*----------------------------------*/


.navbar-nav .dropdown-menu {
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
}

.navbar-nav .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Navbar profile picture */
.profile-pic {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f7ff8a; 
    cursor: pointer;
    transition: transform 0.2s;
}

    .profile-pic:hover {
        transform: scale(1.1);
    }

/* Profile pic inside dropdown */
.profile-pic-dropdown {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f7ff8a;
}

/* Dashboard menu inside dropdown */
.dashboard-menu {
    display: none; 
    background-color: #1F1D1D;
    padding: 10px;
    border-radius: 8px;
}

/* Each dashboard section */
.dashboard-section {
    border-bottom: 1px solid #f7ff8a;
    padding: 8px 0;
}

/* Section header with arrow */
.section-header {
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    color: #f7ff8a;
    font-weight: bold;
}

    .section-header:hover {
        color: #FFFFFF;
    }

/* Section content (toggle open/close) */
.section-content {
    padding-left: 10px;
    margin-top: 5px;
    display: block;
    color: #FFFFFF;
    font-size: 0.9rem;
}

/* Arrow icons */
.arrow {
    font-size: 0.9rem;
    transition: transform 0.2s;
}


/*.profile-popup {
    display: none;
    position: absolute;
    top: 55px;
    right: 0;
    background: #1f1d1d;
    border: 1px solid #ffc107;
    border-radius: 10px;
    width: 150px;
    padding: 10px;
    transition: 0.3s ease;
    z-index: 1000;*/ /* add*/
/*}

    .profile-popup.show {
        display: block;
    }

    .profile-popup a {
        display: block;
        padding: 5px 10px;
        text-decoration: none;
        color: white;
        border-radius: 5px;
    }

        .profile-popup a:hover {
            background-color: #ffc107;
            color: black;
        }*/



/* ✅ UPDATED POPUP STYLE FOR STUDENT & ADMIN */
.profile-popup, .admin-popup {
    display: none;
    position: absolute;
    top: 55px;
    right: 0;
    background: #1f1d1d;
    border: 1px solid #f7ff8a;
    border-radius: 10px;
    width: 160px;
    padding: 10px;
    transition: 0.3s ease;
    z-index: 1000;
}

    .profile-popup.show, .admin-popup.show {
        display: block;
    }

    .profile-popup a, .admin-popup a {
        display: block;
        padding: 6px 10px;
        text-decoration: none;
        color: white;
        border-radius: 5px;
        font-size: 0.9rem;
    }

        .profile-popup a:hover, .admin-popup a:hover {
            background-color: #f7ff8a;
            color: #000;
        }


/*footer*/
footer {
    background: #111;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    
}

    footer a {
        color: #f7ff8a;
        text-decoration: none;
    }

        footer a:hover {
            text-decoration: underline;
        }


