/* Scoped portal page wrapper to prevent Aronix CSS conflicts */
.portal-page {
    position: relative;
    z-index: 1;
    margin-top: 90px;
}

.portal-hero {
    position: relative;
    padding: 110px 0 70px;
    margin-top: 0; /* ensures no overlap with fixed nav */
    background-image: linear-gradient(rgb(28, 47, 142), rgb(6, 30, 111)), url('http://127.0.0.1:8000/assets/img/login-banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.portal-hero .portal-content {
    text-align: center;
    color: #fff;
    max-width: 900px;
    margin: 0 auto;
}

.portal-hero .sub-title {
    display: inline-block;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #fff;
    opacity: .9;
}

.portal-hero h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

.portal-hero p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255,255,255,.85);
    margin-bottom: 0;
}

/* Prevent Aronix service styles leaking */
.portal-services {
    background: #F4F7FC;
    padding: 90px 0;
}

.portal-services .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.portal-services .section-title h2 {
    font-size: 30px;
    margin-bottom: 10px;
}

.portal-services .section-title p {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.portal-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    height: 100%;
    transition: all .3s ease;
    box-shadow: 0 5px 25px rgba(0,0,0,.05);
}

.portal-card:hover {
    transform: translateY(-5px);
}

.portal-card .icon {
    font-size: 34px;
    margin-bottom: 15px;
}

.portal-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.portal-card p {
    font-size: 14px;
    color: #666;
    min-height: 60px;
}

.portal-card a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 15px;
    font-weight: 600;
    text-decoration: none;
}

/*footer styles */
.footer-area {
    background: #070b1a;
    color: rgba(255,255,255,0.75);
    padding: 90px 0 25px;
    position: relative;
    overflow: hidden;
}

.footer-area::before,
.footer-area::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.footer-area::before {
    width: 400px;
    height: 400px;
    background: rgba(99,102,241,0.15);
    top: -120px;
    right: -120px;
}

.footer-area::after {
    width: 500px;
    height: 500px;
    background: rgba(16,185,129,0.08);
    bottom: -150px;
    left: -150px;
}

.footer-logo {
    color: #fff;
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-description {
    margin-bottom: 20px;
    line-height: 1.7;
}

.footer-cta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-outline {
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-primary {
    background: #4f46e5;
    color: #fff;
}

.btn-primary:hover {
    background: #4338ca;
}

.btn-outline {
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.08);
}

.single-footer-widget h3 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
    position: relative;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-contact-info li {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-social {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    color: #fff;
    transition: 0.3s;
}

.footer-social a:hover {
    background: #4f46e5;
    transform: translateY(-3px);
}

.footer-divider {
    margin: 40px 0 20px;
    height: 1px;
    background: rgba(255,255,255,0.08);
}

.copyright-area p {
    margin: 0;
    color: rgba(255,255,255,0.6);
}

.footer-legal {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-legal a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
}

.footer-legal a:hover {
    color: #fff;
}
/* end footer styles */
/* ==========================================
   BUTTON STYLE DECLARATIONS (Desktop & Mobile)
   ========================================== */

.auth-buttons, .mobile-menu-auth {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* LOGIN */
.login-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #111827 !important; /* Force correct text color inside theme menus */
    text-decoration: none;
    border-radius: 10px;
    background: linear-gradient(#ffffff, #ffffff) padding-box,
                linear-gradient(135deg, #e5e7eb, #9ca3af) border-box;
    border: 1px solid transparent;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    overflow: hidden;
    isolation: isolate;
    transition: all 0.25s ease;
}

.login-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.7), transparent);
    transform: translateX(-120%) skewX(-20deg);
    transition: 0.6s;
}

.login-btn:hover::before { transform: translateX(120%) skewX(-20deg); }
.login-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(0,0,0,0.08); }

/* GET STARTED */
.signup-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #fff !important; /* Force text white inside theme menus */
    text-decoration: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #6366f1, var(--text-dark), var(--accent));
    box-shadow: 0 10px 25px rgba(79,70,229,0.35);
    transition: all 0.25s ease;
}

.signup-btn:hover { transform: translateY(-3px) scale(1.02); }


/* ==========================================
   RESPONSIVE SHOW/HIDE & FIX RULES
   ========================================== */

/* By default on wide screens, hide the mobile item container */
.mobile-menu-auth-item {
    display: none !important;
}

@media only screen and (max-width: 991px) {
    /* Hide the floating standalone desktop options container entirely on mobile */
    .desktop-auth-wrapper, .others-options {
        display: none !important;
    }

    /* Force the mobile item container to display nicely at the bottom of the list */
    .mobile-menu-auth-item {
        display: block !important;
        margin-top: 20px;
        padding: 0 15px; /* Keeps padding balanced with the text links */
    }

    /* Clean spacing inside the menu wrapper */
    .mobile-menu-auth {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
        width: 100%;
    }

    /* Prevent theme mobile styles from turning buttons into standard flat block lines */
    .mobile-menu-auth .login-btn,
    .mobile-menu-auth .signup-btn {
        width: auto !important;
        flex: 1; /* Makes buttons split space evenly inside the drawer width */
        max-width: 100px;
        text-align: center;
    }
}


