.collegear-mobile-menu {
    display: none;
}

@media (max-width: 1025px) {
    /* Hide the original hamburger menu toggle */
    .uicore-navbar .uicore-ham:not(.uicore-drawer-toggle) {
        display: none !important;
    }

    .collegear-mobile-menu {
        display: block;
        position: relative;
    }

    /* Style for the new menu icon */
    .collegear-mobile-menu .uicore-menu-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background-color: #271C4D; /* Adjust as needed */
        color: #fff;
        border-radius: 50%;
        cursor: pointer;
        position: relative;
        z-index: 999;
        border: none;
    }

    .collegear-mobile-menu .uicore-menu-icon::before,
    .collegear-mobile-menu .uicore-menu-icon::after {
        content: "";
        position: absolute;
        left: 50%;
        width: 18px;
        height: 3px;
        background-color: #fff;
        border-radius: 3px;
        transform: translateX(-50%);
    }

    .collegear-mobile-menu .uicore-menu-icon::before {
        top: calc(50% - 4px);
    }

    .collegear-mobile-menu .uicore-menu-icon::after {
        top: calc(50% + 2px);
    }

    /* Dropdown menu styles (hidden by default) */
    .collegear-mobile-menu .uicore-dropdown-menu {
        display: none;
        position: absolute;
        top: 50px;
        right: 0;
        background-color: white;
        border: 1px solid #ccc;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        width: 220px;
        z-index: 1000;
    }

    .collegear-mobile-menu .uicore-menu-icon[aria-expanded="true"]::before {
        top: 50%;
        transform: translate(-50%, -50%) rotate(45deg);
        width: 20px;
    }

    .collegear-mobile-menu .uicore-menu-icon[aria-expanded="true"]::after {
        top: 50%;
        transform: translate(-50%, -50%) rotate(-45deg);
        width: 20px;
    }

    /* Menu items styling */
    .collegear-mobile-menu .uicore-dropdown-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .collegear-mobile-menu .uicore-dropdown-menu li {
        padding: 10px;
    }

    .collegear-mobile-menu .uicore-dropdown-menu li a {
        text-decoration: none;
        color: #333;
        display: block;
    }

    .collegear-mobile-menu .uicore-dropdown-menu li a:hover {
        background-color: #f0f0f0;
    }
}

.collegear-dashboard {
    max-width: 720px;
    margin: 40px auto;
    /* padding: 0 20px; */
}

.collegear-dashboard-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 48px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.08);
    text-align: left;
}

.collegear-status-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    flex-shrink: 0;
    margin-bottom: 8px;
}

.collegear-dashboard-content {
    flex: 1;
}

.collegear-dashboard-greeting {
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #2d3748;
    line-height: 1.5;
}

.collegear-dashboard-card h3 {
    margin: 0 0 10px 0;
    font-size: 1.8rem;
    color: #1a202c;
}

.collegear-status-message {
    margin: 0 0 16px 0;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 32px;
}

.collegear-verification-alert .collegear-link {
    text-decoration: underline;
    font-weight: 600;
    color: inherit;
}

.collegear-username-muted {
    opacity: 0.5;
}

.collegear-dashboard-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 5px;
    background: #271c4d;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
    width: fit-content;
    font-size: 13px;
}

.collegear-dashboard-btn.disabled {
    background: #d0d5dd;
    color: #475467;
    cursor: not-allowed;
    pointer-events: none;
}

.collegear-dashboard-btn:hover {
    background: #BCAB79;
    color: white;
}

.collegear-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(32, 38, 52, 0.9);
    color: #fff;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.9rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.collegear-toast.collegear-hidden {
    opacity: 0;
    visibility: hidden;
}

form#collegear-filters {
    margin-bottom: 18px;
}

@media (max-width: 1025px) {
    .collegear-status-message {
        font-size: 15px;
    }
}

/* Authentication */
.auth-state-message {
    text-align: center;
}