/* ===============================
   SOLUNEX PUBLIC PORTAL THEME v2
================================= */

:root {
    --sx-deep-green: #0F3D2E;
    --sx-blue-black: #0B1F2A;
    --sx-gold: #F4B400;
    --sx-light-bg: #F5F7F9;
    --sx-border: #E5E7EB;
    --sx-text-dark: #1F2937;
    --sx-text-soft: #6B7280;
    --sx-white: #FFFFFF;
}

/* ===============================
   RESET & BASE
================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
    background: linear-gradient(
        180deg,
        #eef2f5 0%,
        #f8fafc 100%
    );
    color: var(--sx-text-dark);
    line-height: 1.6;
}

/* ===============================
   CONTAINER SYSTEM
================================= */

.slx-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===============================
   HEADER
================================= */

.slx-portal-header {
    background: var(--sx-white);
    border-bottom: 1px solid var(--sx-border);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 50;
}

.slx-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Brand */

.slx-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
}

.slx-brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(
        135deg,
        var(--sx-gold),
        var(--sx-deep-green)
    );
}

.slx-brand-name {
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.3px;
}

.slx-brand-sub {
    font-size: 12px;
    color: var(--sx-text-soft);
}

/* Navigation */

.slx-nav {
    display: flex;
    gap: 32px;
}

.slx-nav a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--sx-text-dark);
    position: relative;
    transition: 0.2s ease;
}

.slx-nav a:hover {
    color: var(--sx-deep-green);
}

.slx-nav a.active {
    color: var(--sx-deep-green);
}

.slx-nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: var(--sx-gold);
    border-radius: 2px;
}

/* Mobile Menu Toggle */

.slx-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
}

/* ===============================
   MAIN
================================= */

.slx-portal-main {
    padding: 0;
}

/* ===============================
   CARD (Form Pages)
================================= */

.portal-container {
    max-width: 600px;
    margin: 100px auto;
    padding: 0 20px;
}

.portal-card {
    background: var(--sx-white);
    padding: 50px;
    border-radius: 16px;
    border: 1px solid var(--sx-border);
    box-shadow: 0 25px 50px rgba(11, 31, 42, 0.08);
}

.portal-card h2 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--sx-deep-green);
}

.subtitle {
    font-size: 14px;
    color: var(--sx-text-soft);
    margin-bottom: 32px;
}

/* ===============================
   FORM
================================= */

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid var(--sx-border);
    font-size: 14px;
    transition: 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--sx-deep-green);
    box-shadow: 0 0 0 3px rgba(15, 61, 46, 0.15);
}

/* ===============================
   BUTTONS
================================= */

.btn-primary {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    background: var(--sx-deep-green);
    color: var(--sx-white);
    transition: 0.25s ease;
}

.btn-primary:hover {
    background: #145A45;
    transform: translateY(-1px);
}

.btn-download {
    background: var(--sx-blue-black);
    color: white;
    padding: 9px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
}

.btn-download:hover {
    background: #112E3A;
}

/* ===============================
   RESULTS TABLE
================================= */

.results-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
}

.results-table th {
    text-align: left;
    font-size: 12px;
    color: var(--sx-text-soft);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--sx-border);
}

.results-table td {
    padding: 16px 0;
    border-bottom: 1px solid var(--sx-border);
    font-size: 14px;
}

/* ===============================
   FOOTER
================================= */

.slx-portal-footer {
    background: var(--sx-blue-black);
    color: #CBD5E1;
    padding: 22px 0;
    font-size: 13px;
}

.slx-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slx-footer-left strong {
    color: var(--sx-white);
}

.slx-footer-center {
    color: var(--sx-gold);
    font-weight: 500;
}

.slx-footer-right {
    opacity: 0.8;
}




/* ===============================
   FOOTER GRID (ENTERPRISE)
================================= */

.slx-footer-grid{
display:grid;
grid-template-columns:1fr;
gap:30px;
padding-bottom:30px;
}

.slx-footer-col h4{
color:var(--sx-white);
margin-bottom:12px;
font-size:14px;
}

.slx-footer-col p{
font-size:13px;
opacity:0.85;
line-height:1.6;
}

.slx-footer-col ul{
list-style:none;
}

.slx-footer-col ul li{
margin-bottom:8px;
}

.slx-footer-col ul a{
text-decoration:none;
color:#CBD5E1;
font-size:13px;
transition:0.2s;
}

.slx-footer-col ul a:hover{
color:var(--sx-gold);
}

.slx-footer-bottom{
border-top:1px solid rgba(255,255,255,0.1);
margin-top:10px;
padding-top:16px;
text-align:center;
font-size:12px;
opacity:0.7;
}

/* ===============================
   GRID SYSTEM
================================= */

.slx-grid-3,
.slx-grid-4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .slx-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .slx-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .slx-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .slx-grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}



@media (min-width:768px){

.slx-footer-grid{
grid-template-columns:repeat(2,1fr);
}

}

@media (min-width:1024px){

.slx-footer-grid{
grid-template-columns:repeat(4,1fr);
}

}

/* ===============================
   MOBILE NAVIGATION
================================= */

@media (max-width: 768px) {

    .slx-menu-toggle {
        display: block;
    }

    .slx-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 20px;
        gap: 16px;
    }

    .slx-nav.open {
        display: flex;
    }

    .slx-header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .slx-footer-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}