/* 1. Force the link to be a centered vertical container */
.portal-link {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 15px 0 !important;
    text-decoration: none !important;
    border-top: 1px solid rgba(255,255,255,0.1);
    background: transparent;
}
/* 2. Fix the Text Visibility & Position */
.portal-label {
    display: block !important;
    color: #00ff6a !important; /* Bright Neon Green */
    font-size: 10px !important;
    font-weight: bold !important;
    letter-spacing: 1px !important;
    margin-top: 8px !important;
    text-align: center !important;
    width: 100% !important;
}
/* 3. The Icon Stack (Centered) */
.admin-icon-stack {
    position: relative !important;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Gear foundation */
.green-gear {
    width: 14px;
    height: 14px;
    background: #008a3a;
    border-radius: 50%;
    position: relative;
}
.green-gear span {
    position: absolute;
    top: 50%; left: 50%;
    width: 4px; height: 22px;
    background: #008a3a;
    margin: -11px 0 0 -2px;
}
.green-gear span:nth-child(2) { transform: rotate(45deg); }
.green-gear span:nth-child(3) { transform: rotate(90deg); }
.green-gear span:nth-child(4) { transform: rotate(135deg); }
/* Lock Foreground */
.lock-overlay {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -45%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.lock-shackle {
    width: 8px; height: 8px;
    border: 2px solid #00ff6a;
    border-bottom: none;
    border-top-left-radius: 4px; border-top-right-radius: 4px;
    margin-bottom: -1px;
}
.lock-body {
    width: 12px; height: 9px;
    background-color: #00ff6a;
    border-radius: 1px;
}

/* Hover effect */
.portal-link:hover {
    background: rgba(255,255,255,0.05) !important;
}
.portal-link:hover .green-gear {
    transform: rotate(90deg);
    transition: transform 0.5s ease;
}
