@font-face {
    font-family: 'Graphik';
    src: url('/assets/fonts/heading/Graphik-Light.woff2') format('woff2'),
         url('/assets/fonts/heading/Graphik-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Graphik';
    src: url('/assets/fonts/heading/Graphik-Regular.woff2') format('woff2'),
         url('/assets/fonts/heading/Graphik-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Graphik';
    src: url('/assets/fonts/heading/Graphik-Medium.woff2') format('woff2'),
         url('/assets/fonts/heading/Graphik-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Freight Text Pro';
    src: url('/assets/fonts/body/FreightTextProBook-Regular.woff2') format('woff2'),
         url('/assets/fonts/body/FreightTextProBook-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root{
    --bg: #f5f8fc;
    --surface: rgba(255,255,255,0.84);
    --text: #14213d;
    --text-soft: #66738d;
    --line: rgba(20,33,61,0.10);
    --brand: #2f73ff;
    --brand-dark: #163d8f;
    --radius-md: 20px;
    --radius-lg: 28px;
    --shadow-sm: 0 16px 34px rgba(16,24,40,0.06);
    --shadow-md: 0 24px 54px rgba(16,24,40,0.08);
    --container: 1240px;
}

*{
    box-sizing: border-box;
}

body{
    margin: 0;
    font-family: 'Graphik', Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(47,115,255,0.08), transparent 28%),
        linear-gradient(180deg, #fbfcff 0%, #f3f7fc 100%);
}

/* LOGIN */
.portal-login-body{
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.portal-login-wrap{
    width: 100%;
    max-width: 520px;
}

.portal-login-card{
    padding: 34px;
    border-radius: 28px;
    background: var(--surface);
    border: 1px solid rgba(255,255,255,0.55);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.portal-login-head{
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.portal-login-mark{
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
    box-shadow: 0 14px 30px rgba(47,115,255,0.22);
}

.portal-login-head h1{
    margin: 0 0 6px;
    font-family: 'Freight Text Pro', Georgia, serif;
    font-size: 34px;
    font-weight: 400;
    line-height: 1.05;
}

.portal-login-head p{
    margin: 0;
    color: var(--text-soft);
    font-size: 14px;
}

.portal-form-group{
    margin-bottom: 18px;
}

.portal-form-group label{
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
}

.portal-form-group input{
    width: 100%;
    height: 52px;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0 16px;
    background: rgba(255,255,255,0.78);
    color: var(--text);
    outline: none;
}

.portal-form-group input:focus{
    border-color: rgba(47,115,255,0.35);
    box-shadow: 0 0 0 4px rgba(47,115,255,0.08);
}

.portal-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.portal-btn-primary{
    width: 100%;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
    box-shadow: 0 16px 26px rgba(47,115,255,0.18);
}

.portal-btn-outline{
    background: rgba(255,255,255,0.8);
    color: var(--text);
    border: 1px solid var(--line);
}

.portal-alert{
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    font-size: 14px;
}

.portal-alert-error{
    background: rgba(182,66,66,0.08);
    color: #b64242;
    border: 1px solid rgba(182,66,66,0.14);
}

.portal-login-note{
    margin-top: 18px;
    color: var(--text-soft);
    font-size: 13px;
    line-height: 1.7;
}

/* DASHBOARD */
.portal-container{
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
}

.portal-topbar{
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.portal-topbar-inner{
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.portal-topbar h1{
    margin: 0 0 6px;
    font-family: 'Freight Text Pro', Georgia, serif;
    font-size: 36px;
    font-weight: 400;
}

.portal-topbar p{
    margin: 0;
    color: var(--text-soft);
    font-size: 14px;
}

.portal-topbar-actions{
    display: flex;
    align-items: center;
    gap: 12px;
}

.portal-user-chip{
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.82);
    border: 1px solid var(--line);
    font-size: 14px;
    font-weight: 500;
}

.portal-main{
    padding: 28px 0 40px;
}

.portal-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.portal-card{
    padding: 22px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(20,33,61,0.08);
    box-shadow: var(--shadow-sm);
}

.portal-card h3{
    margin: 0 0 10px;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-soft);
    font-weight: 600;
}

.portal-card strong{
    display: block;
    font-size: 32px;
    line-height: 1;
    font-weight: 500;
    color: var(--text);
}

.portal-card p{
    margin: 10px 0 0;
    color: var(--text-soft);
    line-height: 1.7;
    font-size: 14px;
}

.portal-panel{
    margin-top: 20px;
    padding: 24px;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(20,33,61,0.08);
    box-shadow: var(--shadow-sm);
}

.portal-panel h2{
    margin: 0 0 8px;
    font-family: 'Freight Text Pro', Georgia, serif;
    font-size: 30px;
    font-weight: 400;
}

.portal-panel p{
    margin: 0;
    color: var(--text-soft);
    line-height: 1.8;
}

@media (max-width: 1100px){
    .portal-grid{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 760px){
    .portal-grid{
        grid-template-columns: 1fr;
    }

    .portal-topbar-inner{
        min-height: auto;
        padding: 18px 0;
        flex-direction: column;
        align-items: flex-start;
    }
}
.portal-table-wrap{
    overflow-x: auto;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(20,33,61,0.08);
    box-shadow: var(--shadow-sm);
}

.portal-table{
    width: 100%;
    border-collapse: collapse;
    min-width: 1180px;
}

.portal-table th,
.portal-table td{
    padding: 16px 18px;
    text-align: left;
    border-bottom: 1px solid rgba(20,33,61,0.08);
    font-size: 14px;
    vertical-align: middle;
}

.portal-table th{
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-soft);
    font-weight: 600;
    background: rgba(255,255,255,0.55);
}

.portal-table tr:last-child td{
    border-bottom: 0;
}

.portal-empty{
    padding: 24px;
    border-radius: 20px;
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(20,33,61,0.08);
    color: var(--text-soft);
    box-shadow: var(--shadow-sm);
}

.portal-bank-cell{
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 190px;
}

.portal-bank-logo{
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: 1px solid rgba(20,33,61,0.10);
    background: rgba(255,255,255,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex: 0 0 48px;
}

.portal-bank-logo img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.portal-bank-logo span{
    font-size: 11px;
    color: var(--text-soft);
}

.portal-bank-cell strong{
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.portal-bank-cell span{
    font-size: 12px;
    color: var(--text-soft);
}

.portal-badge{
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.portal-badge-active{
    background: rgba(31,122,77,0.10);
    color: #1f7a4d;
}

.portal-badge-pending{
    background: rgba(181,129,29,0.10);
    color: #b5811d;
}

.portal-badge-cancelled{
    background: rgba(182,66,66,0.10);
    color: #b64242;
}
.portal-flash{
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    font-size: 14px;
    border: 1px solid transparent;
}

.portal-flash-success{
    background: rgba(31,122,77,0.08);
    border-color: rgba(31,122,77,0.16);
    color: #1f7a4d;
}

.portal-flash-error{
    background: rgba(182,66,66,0.08);
    border-color: rgba(182,66,66,0.16);
    color: #b64242;
}

.portal-layout-2{
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 20px;
}

.portal-form-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.portal-form-group label{
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

.portal-form-group input,
.portal-form-group select,
.portal-form-group textarea{
    width: 100%;
    min-height: 52px;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0 16px;
    background: rgba(255,255,255,0.78);
    color: var(--text);
    outline: none;
}

.portal-form-group textarea{
    min-height: 140px;
    padding: 14px 16px;
    resize: vertical;
}

.portal-form-group input:focus,
.portal-form-group select:focus,
.portal-form-group textarea:focus{
    border-color: rgba(47,115,255,0.35);
    box-shadow: 0 0 0 4px rgba(47,115,255,0.08);
}

.portal-thread-list{
    display: grid;
    gap: 14px;
}

.portal-thread-item{
    padding: 18px;
    border-radius: 18px;
    background: rgba(255,255,255,0.74);
    border: 1px solid rgba(20,33,61,0.08);
}

.portal-thread-top{
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.portal-soft-chip{
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(47,115,255,0.08);
    color: var(--brand-dark);
    font-size: 12px;
    font-weight: 600;
}

.portal-thread-date{
    color: var(--text-soft);
    font-size: 12px;
}

.portal-thread-item h3{
    margin: 0 0 10px;
    font-family: 'Freight Text Pro', Georgia, serif;
    font-size: 24px;
    font-weight: 400;
    color: var(--text);
}

.portal-thread-item p{
    margin: 0;
    color: var(--text-soft);
    line-height: 1.8;
    font-size: 14px;
}

@media (max-width: 980px){
    .portal-layout-2,
    .portal-form-grid{
        grid-template-columns: 1fr;
    }
}
.portal-form-group input[type="file"]{
    min-height: 54px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
}
.portal-table td .portal-btn{
    white-space: nowrap;
}
.portal-avatar-block{
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 18px;
    align-items: center;
}

.portal-avatar-preview{
    width: 140px;
    height: 140px;
    border-radius: 24px;
    border: 1px solid rgba(20,33,61,0.10);
    background: rgba(255,255,255,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.portal-avatar-preview img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portal-avatar-preview span{
    font-size: 13px;
    color: var(--text-soft);
}

.portal-avatar-fields{
    min-width: 0;
}

.portal-muted-note{
    margin-top: 8px;
    color: var(--text-soft);
    font-size: 13px;
    line-height: 1.6;
}

@media (max-width: 760px){
    .portal-avatar-block{
        grid-template-columns: 1fr;
    }
}
.portal-login-body{
    margin:0;
    min-height:100vh;
    font-family:Arial, sans-serif;
    background:#f4f7fb;
    color:#111827;
}

.portal-auth-shell{
    min-height:100vh;
    display:grid;
    grid-template-columns: 46% 54%;
    background:#f7f9fc;
}

.portal-auth-left{
    display:flex;
    align-items:center;
    justify-content:center;
    padding:60px 56px;
    background:
        radial-gradient(circle at top left, rgba(59,130,246,0.08), transparent 28%),
        radial-gradient(circle at bottom left, rgba(37,99,235,0.05), transparent 30%),
        #f8fbff;
}

.portal-auth-form-wrap{
    width:100%;
    max-width:430px;
}

.portal-auth-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:8px 18px;
    border-radius:999px;
    background:linear-gradient(135deg, #2d6cdf, #1d006e);
    color:#fff;
    font-size:13px;
    font-weight:700;
    letter-spacing:.04em;
    margin-bottom:28px;
    box-shadow:0 10px 24px rgba(61,93,245,0.18);
}

.portal-auth-head h1{
    margin:0 0 10px;
    font-size:40px;
    line-height:1.08;
    font-weight:700;
    color:#0f172a;
}

.portal-auth-head p{
    margin:0 0 30px;
    font-size:15px;
    line-height:1.7;
    color:#64748b;
    max-width:380px;
}

.portal-auth-form{
    margin-top:10px;
}

.portal-form-group{
    margin-bottom:18px;
}

.portal-form-group label{
    display:block;
    margin-bottom:8px;
    font-size:12px;
    font-weight:700;
    letter-spacing:.06em;
    text-transform:uppercase;
    color:#7b8798;
}

.portal-form-group input{
    width:100%;
    height:56px;
    border:none;
    border-bottom:1px solid #d7dfeb;
    background:transparent;
    padding:0 2px;
    font-size:17px;
    color:#0f172a;
    transition:border-color .2s ease, box-shadow .2s ease;
}

.portal-form-group input::placeholder{
    color:#b2bccb;
}

.portal-form-group input:focus{
    outline:none;
    border-bottom:1px solid #346bdb;
    box-shadow:0 10px 20px rgba(52,107,219,0.08);
}

.portal-auth-actions{
    display:flex;
    gap:14px;
    margin-top:28px;
    flex-wrap:wrap;
}

.portal-btn{
    text-decoration:none;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:170px;
    height:52px;
    border-radius:999px;
    font-size:13px;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
    transition:all .25s ease;
    cursor:pointer;
}

.portal-btn-login{
    border:none;
    color:#fff;
    background:linear-gradient(90deg,#2c7df0 0%, #7038f5 100%);
    box-shadow:0 14px 30px rgba(72,90,245,0.24);
}

.portal-btn-login:hover{
    transform:translateY(-2px);
    box-shadow:0 18px 34px rgba(72,90,245,0.30);
}

.portal-btn-outline{
    border:2px solid #7a6cf4;
    color:#4c63db;
    background:#fff;
}

.portal-btn-outline:hover{
    background:#f5f3ff;
    transform:translateY(-2px);
}

.portal-auth-help{
    margin-top:24px;
    font-size:13px;
    color:#7c8797;
}

.portal-alert{
    margin-bottom:18px;
    padding:14px 16px;
    border-radius:14px;
    font-size:14px;
}

.portal-alert-error{
    background:#fff1f2;
    color:#b42318;
    border:1px solid #fecdd3;
}

.portal-auth-right{
    position:relative;
    min-height:100vh;
    overflow:hidden;
}

.portal-auth-visual{
    position:relative;
    width:100%;
    height:100%;
    background:
        linear-gradient(180deg, rgba(17,35,87,0.34) 0%, rgba(37,27,115,0.40) 26%, rgba(77,24,165,0.50) 100%),
        linear-gradient(135deg, rgba(20,42,92,0.88), rgba(64,34,150,0.78)),
        url('/assets/img/9091.jpg') center center / cover no-repeat;
    display:flex;
    align-items:flex-end;
    padding:58px 56px;
}

.portal-auth-overlay{
    position:absolute;
    inset:0;
    background:
        radial-gradient(circle at 70% 20%, rgba(81,148,255,0.30), transparent 24%),
        radial-gradient(circle at 80% 82%, rgba(141,68,255,0.24), transparent 26%),
        linear-gradient(180deg, rgba(9,18,40,0.18), rgba(9,18,40,0.40));
    pointer-events:none;
}

.portal-auth-content{
    position:relative;
    z-index:2;
    max-width:520px;
    color:#fff;
}

.portal-auth-kicker{
    display:inline-block;
    font-size:12px;
    font-weight:800;
    letter-spacing:.28em;
    opacity:.9;
    margin-bottom:14px;
}

.portal-auth-content h2{
    margin:0;
    font-size:48px;
    line-height:1.08;
    font-weight:700;
    color:#fff;
    max-width:520px;
}

.portal-auth-line{
    width:120px;
    height:3px;
    border-radius:999px;
    background:rgba(255,255,255,0.85);
    margin:22px 0 22px;
}

.portal-auth-content p{
    margin:0;
    font-size:16px;
    line-height:1.75;
    color:rgba(255,255,255,0.88);
    max-width:500px;
}

.portal-auth-points{
    margin-top:28px;
    display:grid;
    gap:12px;
}

.portal-auth-point{
    display:flex;
    align-items:center;
    gap:10px;
    color:rgba(255,255,255,0.92);
    font-size:14px;
    padding-left:18px;
    position:relative;
}

.portal-auth-point::before{
    content:'';
    width:7px;
    height:7px;
    border-radius:50%;
    background:#9ec5ff;
    position:absolute;
    left:0;
    top:8px;
    box-shadow:0 0 0 6px rgba(158,197,255,0.10);
}

@media (max-width: 1100px){
    .portal-auth-shell{
        grid-template-columns: 1fr 1fr;
    }

    .portal-auth-content h2{
        font-size:40px;
    }
}

@media (max-width: 900px){
    .portal-auth-shell{
        grid-template-columns:1fr;
    }

    .portal-auth-right{
        display:none;
    }

    .portal-auth-left{
        min-height:100vh;
        padding:40px 24px;
    }

    .portal-auth-head h1{
        font-size:34px;
    }

    .portal-btn{
        width:100%;
        min-width:100%;
    }
}
html, body{
    width:100%;
    min-height:100%;
    margin:0;
    padding:0;
}

body.portal-login-body{
    margin:0;
    padding:0;
    min-height:100vh;
    width:100%;
    background:#f4f7fb;
    overflow-x:hidden;
}

.portal-login-wrap,
.portal-login-card,
.portal-login-container,
.portal-login-box{
    max-width:none !important;
    width:auto !important;
    margin:0 !important;
    padding:0 !important;
    box-shadow:none !important;
    background:none !important;
    border:none !important;
}

.portal-auth-shell{
    width:100%;
    min-height:100vh;
    display:grid;
    grid-template-columns: 46% 54%;
}

.portal-auth-left{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:60px 56px;
    background:
        radial-gradient(circle at top left, rgba(59,130,246,0.08), transparent 28%),
        radial-gradient(circle at bottom left, rgba(37,99,235,0.05), transparent 30%),
        #f8fbff;
}

.portal-auth-form-wrap{
    width:100%;
    max-width:430px;
}

.portal-auth-right{
    min-height:100vh;
    position:relative;
}

.portal-auth-visual{
    position:relative;
    width:100%;
    min-height:100vh;
    background:
        linear-gradient(180deg, rgba(17, 35, 87, 0.34) 0%, rgba(37, 27, 115, 0.40) 26%, rgb(0 0 0 / 50%) 100%), linear-gradient(135deg, rgb(3 75 240 / 88%), rgb(0 164 224 / 78%)),
        url('/assets/img/9091.jpg') center center / cover no-repeat;
    display:flex;
    align-items:flex-end;
    padding:58px 56px;
}

.portal-auth-overlay{
    position:absolute;
    inset:0;
    background:
        radial-gradient(circle at 70% 20%, rgba(81,148,255,0.30), transparent 24%),
        radial-gradient(circle at 80% 82%, rgba(141,68,255,0.24), transparent 26%),
        linear-gradient(180deg, rgba(9,18,40,0.18), rgba(9,18,40,0.40));
    pointer-events:none;
}

.portal-auth-content{
    position:relative;
    z-index:2;
    max-width:520px;
    color:#fff;
}
/* PRIMARY BUTTON (bank style) */
.portal-btn-main{
    width:100%;
    height:54px;
    border-radius:14px;
    border:none;
    cursor:pointer;

    background:linear-gradient(135deg,#0a2d94,#1d4ed8);
    color:#fff;

    font-size:14px;
    font-weight:700;
    letter-spacing:.04em;

    box-shadow:0 12px 30px rgba(10,45,148,0.25);
    transition:all .25s ease;
}

.portal-btn-main:hover{
    transform:translateY(-2px);
    box-shadow:0 18px 40px rgba(10,45,148,0.35);
}

/* SECONDARY BUTTON */
.portal-btn-ghost{
    width:100%;
    height:54px;
    border-radius:14px;

    border:1.5px solid rgba(10,45,148,0.25);
    background:#fff;
    color:#0a2d94;

    font-size:13px;
    font-weight:700;
    letter-spacing:.04em;
    text-transform:uppercase;

    display:flex;
    align-items:center;
    justify-content:center;

    transition:all .25s ease;
}

.portal-btn-ghost:hover{
    background:#0a2d94;
    color:#fff;
    border-color:#0a2d94;
}

/* spacing between buttons */
.portal-auth-actions{
    display:flex;
    flex-direction:column;
    gap:12px;
    margin-top:26px;
}
.portal-btn-main::after{
    content:'';
    position:absolute;
    inset:0;
    border-radius:14px;
    background:linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
    opacity:0;
    transition:.3s;
}

.portal-btn-main:hover::after{
    opacity:1;
}
.portal-auth-lang{
    display:flex;
    justify-content:flex-end;
    gap:10px;
    margin-bottom:18px;
}

.portal-auth-lang a{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:8px 14px;
    border-radius:999px;
    text-decoration:none;
    font-size:13px;
    font-weight:700;
    letter-spacing:.04em;
    color:#204c24;
    background:rgba(255,255,255,0.76);
    border:1px solid rgba(32,76,36,0.14);
    transition:.22s ease;
    box-shadow:0 8px 18px rgba(16,24,40,0.06);
}

.portal-auth-lang a:hover{
    transform:translateY(-1px);
    background:#ffffff;
    border-color:rgba(32,76,36,0.28);
}

.portal-auth-lang a.is-active{
    background:#050686;
    color:#fff;
    border-color:#204c24;
    box-shadow:0 10px 24px rgba(32,76,36,0.22);
}
/* =========================
   PORTAL LOGIN FORM FIXES
   ========================= */

/* Malo više prostora unutar forme */
.portal-auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Label styling */
.portal-form-group label {
  display: block;
  margin-bottom: 8px;
  padding-left: 2px;
  font-size: 13px;
  font-weight: 600;
  color: #20324d;
}

/* INPUT polja – odmak od leve ivice i uredniji izgled */
.portal-form-group input {
  width: 100%;
  height: 52px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid rgba(20, 44, 78, 0.14);
  background: #ffffff;
  color: #142c4e;
  font-size: 15px;
  line-height: 1;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

/* Placeholder da ne bude skroz uz ivicu */
.portal-form-group input::placeholder {
  color: #8a97ab;
}

/* Focus stanje */
.portal-form-group input:focus {
  border-color: rgba(32, 94, 176, 0.45);
  box-shadow: 0 0 0 4px rgba(49, 107, 189, 0.08);
  background: #fff;
}

/* Buttons area */
.portal-auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 6px;
}

/* Osnovni button reset za login/register */
.portal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  animation: none !important;
}

/* Glavno login dugme */
.portal-btn-main {
  min-width: 150px;
  border: 1px solid #163b6d;
  background: #163b6d;
  color: #fff;
  box-shadow: 0 10px 24px rgba(22, 59, 109, 0.16);
}

.portal-btn-main:hover {
  transform: translateY(-1px);
  background: #1b467f;
  border-color: #1b467f;
}

/* Register / Create account dugme – manje, mirnije, bez blink efekta */
.portal-btn-ghost {
  min-width: 128px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(22, 59, 109, 0.18);
  background: #fff;
  color: #163b6d;
  box-shadow: none;
  position: relative;
}

.portal-btn-ghost:hover {
  background: #f4f8fd;
  border-color: rgba(22, 59, 109, 0.28);
  color: #102d55;
  transform: translateY(-1px);
}

/* Ubij bilo kakav shimmer / blink / pseudo efekat ako postoji */
.portal-btn-ghost::before,
.portal-btn-ghost::after,
.portal-btn-main::before,
.portal-btn-main::after {
  content: none !important;
  animation: none !important;
}

/* Po želji još malo unutrašnjeg levog prostora cele forme */
.portal-auth-form-wrap {
  padding-left: 6px;
  padding-right: 6px;
}
.portal-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,0.82);
  border-bottom: 1px solid rgba(25, 54, 94, 0.08);
}

.portal-site-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 82px;
}

.portal-site-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.portal-site-logo {
  width: 150px;
  height: auto;
  display: block;
  object-fit: contain;
}

.portal-site-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.portal-site-brand-text strong {
  font-size: 15px;
  color: #15345d;
}

.portal-site-brand-text span {
  font-size: 12px;
  color: #6f829b;
}

.portal-site-userbox {
  display: flex;
  align-items: center;
  gap: 10px;
}

.portal-site-nav-wrap {
  border-top: 1px solid rgba(25, 54, 94, 0.06);
}

.portal-site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 58px;
  flex-wrap: wrap;
}

.portal-site-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: #24476f;
  transition: all 0.18s ease;
}

.portal-site-nav-link:hover {
  background: rgba(34, 83, 154, 0.08);
  color: #173764;
}

.portal-site-nav-link.is-active {
  background: linear-gradient(135deg, rgba(47,115,255,0.14) 0%, rgba(47,115,255,0.08) 100%);
  color: #173764;
  box-shadow: 0 8px 18px rgba(47,115,255,0.10);
}

.portal-site-footer {
  margin-top: 34px;
  border-top: 1px solid rgba(25, 54, 94, 0.08);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px);
}

.portal-site-footer-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.portal-site-footer-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.portal-site-footer-left strong {
  font-size: 14px;
  color: #15345d;
}

.portal-site-footer-left span {
  font-size: 12px;
  color: #71839c;
}

.portal-site-footer-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.portal-site-footer-right a {
  text-decoration: none;
  font-size: 13px;
  color: #24476f;
}

.portal-site-footer-right a:hover {
  color: #173764;
}

.portal-pagehead {
  padding: 26px 0 10px;
}

.portal-pagehead-box {
  padding: 22px 24px;
  border-radius: 24px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(214, 226, 243, 0.88);
  box-shadow: 0 18px 44px rgba(17, 42, 77, 0.08);
}

.portal-pagehead-kicker {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b86a8;
}

.portal-pagehead-box h1 {
  margin: 0 0 8px;
  font-size: 34px;
  line-height: 1.08;
  color: #102645;
  letter-spacing: -0.03em;
}

.portal-pagehead-box p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #6a7f99;
}

.portal-section {
  padding: 12px 0 24px;
}

.portal-actions-row {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .portal-site-header-top,
  .portal-site-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .portal-site-nav {
    gap: 6px;
  }

  .portal-site-logo {
    width: 130px;
  }
}
.portal-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 10px;
}

.portal-lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 32px;
  padding: 0 10px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  color: #24476f;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(25, 54, 94, 0.08);
  transition: all 0.18s ease;
}

.portal-lang-switch a:hover {
  background: rgba(34, 83, 154, 0.08);
  color: #173764;
}

.portal-lang-switch a.is-active {
  background: linear-gradient(135deg, rgba(47,115,255,0.14) 0%, rgba(47,115,255,0.08) 100%);
  color: #173764;
  box-shadow: 0 8px 18px rgba(47,115,255,0.10);
}
.portal-topbar-premium {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(14px);
    background: rgba(255,255,255,0.82);
    border-bottom: 1px solid rgba(21, 52, 93, 0.08);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.portal-topbar-copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.portal-topbar-kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6d83a1;
}

.portal-topbar-premium h1 {
    margin: 0;
    font-size: 34px;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #102645;
}

.portal-topbar-premium p {
    margin: 0;
    color: #6f839e;
    font-size: 15px;
    line-height: 1.7;
}

.portal-hero-box {
    margin: 26px 0 22px;
    padding: 24px 26px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255,255,255,0.88) 0%, rgba(242,247,253,0.92) 100%);
    border: 1px solid rgba(214, 226, 243, 0.88);
    box-shadow: 0 18px 44px rgba(17, 42, 77, 0.08);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.portal-hero-box-copy {
    max-width: 760px;
}

.portal-hero-box-kicker {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6d83a1;
}

.portal-hero-box h2 {
    margin: 0 0 10px;
    font-size: 30px;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #102645;
}

.portal-hero-box p {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: #6b7f99;
}

.portal-hero-box-side {
    min-width: 180px;
}

.portal-hero-stat {
    padding: 18px 18px;
    border-radius: 22px;
    background: rgba(255,255,255,0.74);
    border: 1px solid rgba(214, 226, 243, 0.88);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.portal-hero-stat small {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    color: #71839c;
}

.portal-hero-stat strong {
    font-size: 30px;
    line-height: 1;
    color: #123760;
    letter-spacing: -0.03em;
}

.portal-grid-premium {
    margin-bottom: 22px;
}

.portal-card-premium {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(245,249,255,0.95) 100%);
    border: 1px solid rgba(214, 226, 243, 0.88);
    box-shadow: 0 14px 34px rgba(17, 42, 77, 0.07);
    padding: 22px 22px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.portal-card-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(17, 42, 77, 0.10);
}

.portal-card-kicker {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7389a6;
}

.portal-card-premium h3 {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.35;
    color: #163c67;
}

.portal-card-premium strong {
    display: block;
    margin-bottom: 10px;
    font-size: 34px;
    line-height: 1;
    letter-spacing: -0.04em;
    color: #102645;
}

.portal-card-premium p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #6f839e;
}

.portal-panel-premium {
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(241,246,252,0.95) 0%, rgba(232,239,248,0.95) 100%);
    border: 1px solid rgba(214, 226, 243, 0.9);
    box-shadow: 0 18px 44px rgba(17, 42, 77, 0.07);
    padding: 24px 26px;
}

.portal-panel-headline {
    margin-bottom: 10px;
}

.portal-panel-kicker {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6c84a4;
}

.portal-panel-premium h2 {
    margin: 0;
    font-size: 28px;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #112d52;
}

.portal-panel-premium p {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: #677c97;
}

.portal-actions-row {
    margin-top: 18px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 980px) {
    .portal-hero-box {
        flex-direction: column;
    }

    .portal-hero-box-side {
        min-width: 0;
        width: 100%;
    }
}
.portal-topbar-homeblue {
    position: sticky;
    top: 0;
    z-index: 30;
    background:
        linear-gradient(135deg, #082c86 0%, #0a349a 35%, #123ea8 100%);
    border-bottom: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 14px 34px rgba(5, 25, 70, 0.28);
}

.portal-topbar-homeblue .portal-topbar-inner {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.portal-topbar-left {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 14px;
    flex-wrap: nowrap;
}

.portal-topbar-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.portal-topbar-logo {
    width: 150px;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.portal-topbar-datetime {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.portal-topbar-datetime strong {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.portal-topbar-datetime span {
    font-size: 12px;
    color: rgba(255,255,255,0.78);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.portal-topbar-actions-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    margin-left: auto;
}

.portal-btn-glass {
    min-height: 42px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.10);
    backdrop-filter: blur(10px);
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.10),
        0 8px 20px rgba(3, 16, 48, 0.20);
    transition:
        transform 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.portal-btn-glass:hover {
    transform: translateY(-1px);
    background: rgba(255,255,255,0.16);
    border-color: rgba(255,255,255,0.28);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.14),
        0 12px 28px rgba(3, 16, 48, 0.28);
}

.portal-user-chip-dark {
    min-height: 42px;
    padding: 0 14px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.16);
    color: #ffffff;
    font-weight: 600;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.10),
        0 8px 20px rgba(3, 16, 48, 0.18);
}

.portal-btn-logout {
    background: rgba(255,255,255,0.14);
}

.portal-btn-logout:hover {
    background: rgba(255,255,255,0.20);
}

@media (max-width: 980px) {
    .portal-topbar-homeblue .portal-topbar-inner {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .portal-topbar-left {
        min-width: 0;
    }

    .portal-topbar-actions-right {
        width: 100%;
        justify-content: flex-start;
    }
}
.portal-topbar-actions-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    margin-left: auto;
}

.portal-topbar-linkfx {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    color: rgba(255,255,255,0.92);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: transform 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}

.portal-topbar-linkfx:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.portal-topbar-linkfx::after {
    content: "";
    position: absolute;
    left: 28px;
    right: 0;
    bottom: 3px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0.55), rgba(255,255,255,0));
    transform: scaleX(0.45);
    transform-origin: left center;
    opacity: 0;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.portal-topbar-linkfx:hover::after {
    transform: scaleX(1);
    opacity: 1;
}

.portal-topbar-linkfx-icon {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex: 0 0 16px;
}

.portal-topbar-linkfx-icon svg {
    width: 16px;
    height: 16px;
    display: block;
}

.portal-topbar-divider {
    width: 1px;
    height: 20px;
    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.12) 0%,
        rgba(255,255,255,0.42) 50%,
        rgba(255,255,255,0.12) 100%
    );
    flex: 0 0 1px;
}

.portal-topbar-logoutfx {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    margin-left: 4px;
    border-radius: 12px;
    text-decoration: none;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.08),
        0 8px 20px rgba(3, 16, 48, 0.16);
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.portal-topbar-logoutfx:hover {
    transform: translateY(-1px);
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.24);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.10),
        0 12px 26px rgba(3, 16, 48, 0.24);
}

@media (max-width: 980px) {
    .portal-topbar-divider {
        display: none;
    }

    .portal-topbar-actions-right {
        gap: 10px 14px;
    }
}
.portal-topbar-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.portal-topbar-logo {
    width: 140px;
    height: auto;
    object-fit: contain;
}

/* vertikalne linije */
.portal-topbar-vline {
    width: 1px;
    height: 26px;
    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.15),
        rgba(255,255,255,0.55),
        rgba(255,255,255,0.15)
    );
}

.portal-topbar-vline-small {
    height: 18px;
    opacity: 0.8;
}

/* datum */
.portal-topbar-dateonly span {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.04em;
}

/* user ime */
.portal-topbar-user {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.01em;
}
.portal-topbar-left {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 14px;
    flex-wrap: nowrap;
}
.portal-topbar-left > * {
    display: inline-flex;
    align-items: center;
}
/* GRID */
.portal-grid-premium {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* CARD */
.portal-card-premium {
    border-radius: 16px; /* manje oblo */
    padding: 18px 18px;
    background: #f8fbff;
    border: 1px solid #e3ecf6;
    box-shadow: 0 6px 18px rgba(20,40,80,0.04);
    transition: all 0.18s ease;
}

.portal-card-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(20,40,80,0.08);
}

/* TOP */
.portal-card-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

/* ICON */
.portal-card-icon {
    width: 16px;
    height: 16px;
    color: #6f8db5;
    display: flex;
}

.portal-card-icon svg {
    width: 16px;
    height: 16px;
}

/* KICKER */
.portal-card-kicker {
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #7d93ad;
    font-weight: 600;
}

/* TITLE */
.portal-card-premium h3 {
    font-size: 15px;
    font-weight: 500;
    margin: 6px 0;
    color: #1c3557;
}

/* VALUE */
.portal-card-premium strong {
    font-size: 26px;
    font-weight: 500; /* tanje */
    color: #0f2745;
    letter-spacing: -0.02em;
    display: block;
    margin-bottom: 6px;
}

/* DESC */
.portal-card-premium p {
    font-size: 13px;
    color: #6f839e;
    line-height: 1.6;
}

/* HERO */
.portal-hero-box {
    border-radius: 18px;
    background: #f4f8fc;
    border: 1px solid #e3ecf6;
    padding: 22px;
    margin-bottom: 18px;
}

.portal-hero-box h2 {
    font-weight: 500;
    color: #112d52;
}

.portal-hero-box p {
    color: #6f839e;
}

/* PANEL */
.portal-panel-premium {
    border-radius: 18px;
    background: #f4f8fc;
    border: 1px solid #e3ecf6;
    padding: 22px;
}

.portal-panel-premium h2 {
    font-weight: 500;
    color: #112d52;
}

/* BUTTONS */
.portal-btn-outline {
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #d8e3ef;
    color: #1c3557;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.18s ease;
}

.portal-btn-outline:hover {
    background: #eef5fb;
    border-color: #c9d9ea;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .portal-grid-premium {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .portal-grid-premium {
        grid-template-columns: 1fr;
    }
}
/* NASLOVI (iznad brojeva) */
.portal-card-premium h3 {
    font-size: 15px;
    font-weight: 500;
    margin: 6px 0;
    color: #0b2e6b; /* TAMNO PLAVA */
    letter-spacing: -0.01em;
}

/* KICKER malo jači */
.portal-card-kicker {
    color: #5f7fa8;
}

/* IKONICE - lep plavi ton */
.portal-card-icon {
    width: 16px;
    height: 16px;
    color: #2f6fde; /* elegantna plava */
    opacity: 0.95;
}

.portal-card-icon svg {
    width: 16px;
    height: 16px;
}

/* HOVER - ikonice malo živnu */
.portal-card-premium:hover .portal-card-icon {
    color: #1e5ed6;
    transform: scale(1.05);
}

/* BROJEVI još malo premium */
.portal-card-premium strong {
    font-size: 26px;
    font-weight: 500;
    color: #0a254e; /* deep navy */
    letter-spacing: -0.03em;
}

/* HERO naslov isto tamniji */
.portal-hero-box h2 {
    color: #0a254e;
}

/* PANEL naslov */
.portal-panel-premium h2 {
    color: #0a254e;
}
/* VALUE + TREND */
.portal-card-premium strong {
    font-size: 26px;
    font-weight: 500;
    color: #0a254e;
    letter-spacing: -0.03em;
    display: block;
    margin-bottom: 6px;
}

.portal-card-trend {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.portal-card-trend.is-up {
    color: #1f8a60;
}

.portal-card-trend.is-soft {
    color: #8a6a1f;
}

.portal-card-trend.is-neutral {
    color: #6f839e;
}

/* SUBTLE CARD TONES */
.portal-card-capital {
    background: linear-gradient(180deg, #f8fbff 0%, #f2f7fd 100%);
}

.portal-card-profit {
    background: linear-gradient(180deg, #f8fcfa 0%, #eff8f2 100%);
}

.portal-card-maturity {
    background: linear-gradient(180deg, #fcfbf8 0%, #f8f4eb 100%);
}

.portal-card-messages {
    background: linear-gradient(180deg, #fafbfc 0%, #f3f6f9 100%);
}

/* HOVER GLOW */
.portal-card-premium {
    border-radius: 16px;
    padding: 18px 18px;
    border: 1px solid #e3ecf6;
    box-shadow: 0 6px 18px rgba(20,40,80,0.04);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

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

.portal-card-capital:hover {
    box-shadow: 0 12px 28px rgba(47, 111, 222, 0.12);
    border-color: #cfe0f7;
}

.portal-card-profit:hover {
    box-shadow: 0 12px 28px rgba(31, 138, 96, 0.12);
    border-color: #d4eadc;
}

.portal-card-maturity:hover {
    box-shadow: 0 12px 28px rgba(180, 140, 42, 0.12);
    border-color: #eadfbe;
}

.portal-card-messages:hover {
    box-shadow: 0 12px 28px rgba(90, 110, 140, 0.10);
    border-color: #dce5ef;
}
.portal-festgeld-section {
    margin: 20px 0 22px;
}

.portal-festgeld-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.95fr 1fr;
    gap: 16px;
}

.portal-festgeld-box {
    background: linear-gradient(180deg, #fbfdff 0%, #f4f8fc 100%);
    border: 1px solid #e3ecf6;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(20, 40, 80, 0.05);
}

.portal-festgeld-head {
    margin-bottom: 16px;
}

.portal-festgeld-kicker {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #728bab;
}

.portal-festgeld-head h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: #0a254e;
}

.portal-festgeld-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.portal-fg-stat {
    padding: 14px 14px;
    border-radius: 14px;
    background: rgba(255,255,255,0.72);
    border: 1px solid #e6edf5;
}

.portal-fg-stat span {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    color: #7a90a9;
}

.portal-fg-stat strong {
    font-size: 22px;
    font-weight: 500;
    color: #0a254e;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.portal-fg-donut-wrap {
    display: flex;
    justify-content: center;
    margin: 8px 0 16px;
}

.portal-fg-donut {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background:
        conic-gradient(
            #2f6fde 0 calc(var(--invest) * 1%),
            #75b798 calc(var(--invest) * 1%) 100%
        );
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.portal-fg-donut::after {
    content: "";
    position: absolute;
    width: 122px;
    height: 122px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px #ebf0f6;
}

.portal-fg-donut-center {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 110px;
}

.portal-fg-donut-center small {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    color: #7a90a9;
}

.portal-fg-donut-center strong {
    font-size: 18px;
    font-weight: 500;
    color: #0a254e;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.portal-fg-legend {
    display: grid;
    gap: 10px;
}

.portal-fg-legend-item {
    display: grid;
    grid-template-columns: 14px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255,255,255,0.72);
    border: 1px solid #e6edf5;
}

.portal-fg-legend-item span {
    font-size: 13px;
    color: #617997;
}

.portal-fg-legend-item strong {
    font-size: 13px;
    font-weight: 600;
    color: #0a254e;
}

.portal-fg-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.portal-fg-dot-invest {
    background: #2f6fde;
}

.portal-fg-dot-profit {
    background: #75b798;
}

.portal-fg-insight-list {
    display: grid;
    gap: 14px;
}

.portal-fg-insight-item {
    display: grid;
    grid-template-columns: 16px 1fr;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #e8eef5;
}

.portal-fg-insight-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.portal-fg-insight-icon {
    color: #2f6fde;
    font-size: 18px;
    line-height: 1;
    margin-top: 1px;
}

.portal-fg-insight-item strong {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
    font-weight: 500;
    color: #0a254e;
}

.portal-fg-insight-item p {
    margin: 0;
    font-size: 13px;
    line-height: 1.65;
    color: #6f839e;
}

@media (max-width: 1100px) {
    .portal-festgeld-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .portal-festgeld-stats-grid {
        grid-template-columns: 1fr;
    }

    .portal-fg-donut {
        width: 170px;
        height: 170px;
    }

    .portal-fg-donut::after {
        width: 110px;
        height: 110px;
    }
}
/* ===== PREMIUM DEPOSITS LIST ===== */

.portal-deposit-list {
    margin-top: 20px;
    display: grid;
    gap: 18px;
}

.portal-deposit-card {
    border-radius: 18px;
    padding: 20px;
    background: linear-gradient(180deg, #fbfdff 0%, #f4f8fc 100%);
    border: 1px solid #e3ecf6;
    box-shadow: 0 8px 24px rgba(20, 40, 80, 0.05);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.portal-deposit-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(20, 40, 80, 0.08);
}

.portal-deposit-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.portal-deposit-bank {
    display: flex;
    align-items: center;
    gap: 14px;
}

.portal-deposit-bank-logo {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e5edf6;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.portal-deposit-bank-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 8px;
}

.portal-deposit-bank-logo span {
    font-size: 11px;
    color: #7b91ab;
}

.portal-deposit-bank-meta h3 {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 500;
    color: #0a254e;
    letter-spacing: -0.02em;
}

.portal-deposit-bank-meta p {
    margin: 0;
    font-size: 13px;
    color: #6f839e;
    line-height: 1.6;
}

.portal-deposit-kicker {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #728bab;
}

.portal-deposit-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.portal-deposit-metric {
    padding: 14px;
    border-radius: 14px;
    background: rgba(255,255,255,0.78);
    border: 1px solid #e7eef6;
}

.portal-deposit-metric span {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    color: #7b90a9;
}

.portal-deposit-metric strong {
    font-size: 18px;
    font-weight: 500;
    color: #0a254e;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.portal-deposit-metric strong small {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 500;
    color: #7b90a9;
}

.portal-empty-premium {
    border-radius: 18px;
    padding: 18px 20px;
    background: linear-gradient(180deg, #fbfdff 0%, #f4f8fc 100%);
    border: 1px solid #e3ecf6;
    color: #6f839e;
    font-size: 14px;
    line-height: 1.7;
}

@media (max-width: 980px) {
    .portal-deposit-card-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .portal-deposit-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .portal-deposit-metrics {
        grid-template-columns: 1fr;
    }

    .portal-deposit-bank {
        align-items: flex-start;
    }
}
/* ===== HEADER: PREMIUM DARK BLUE ===== */

.portal-topbar-homeblue {
    position: sticky;
    top: 0;
    z-index: 30;
    background: linear-gradient(135deg, #082c86 0%, #0a349a 35%, #123ea8 100%);
    border-bottom: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 14px 34px rgba(5, 25, 70, 0.28);
}

.portal-topbar-homeblue .portal-topbar-inner {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.portal-topbar-left {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 14px;
    flex-wrap: nowrap;
}

.portal-topbar-left > * {
    display: inline-flex;
    align-items: center;
}

.portal-topbar-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.portal-topbar-logo {
    width: 150px;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.portal-topbar-vline {
    width: 1px;
    height: 26px;
    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.15),
        rgba(255,255,255,0.55),
        rgba(255,255,255,0.15)
    );
}

.portal-topbar-vline-small {
    height: 18px;
    opacity: 0.8;
}

.portal-topbar-dateonly span {
    white-space: nowrap;
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.04em;
}

.portal-topbar-user {
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.01em;
}

.portal-topbar-actions-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    margin-left: auto;
}

.portal-topbar-linkfx {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    color: rgba(255,255,255,0.92);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: transform 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}

.portal-topbar-linkfx:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.portal-topbar-linkfx::after {
    content: "";
    position: absolute;
    left: 28px;
    right: 0;
    bottom: 3px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0.55), rgba(255,255,255,0));
    transform: scaleX(0.45);
    transform-origin: left center;
    opacity: 0;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.portal-topbar-linkfx:hover::after {
    transform: scaleX(1);
    opacity: 1;
}

.portal-topbar-linkfx-icon {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex: 0 0 16px;
}

.portal-topbar-linkfx-icon svg {
    width: 16px;
    height: 16px;
    display: block;
}

.portal-topbar-divider {
    width: 1px;
    height: 20px;
    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.12) 0%,
        rgba(255,255,255,0.42) 50%,
        rgba(255,255,255,0.12) 100%
    );
    flex: 0 0 1px;
}

.portal-topbar-logoutfx {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    margin-left: 4px;
    border-radius: 12px;
    text-decoration: none;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.08),
        0 8px 20px rgba(3, 16, 48, 0.16);
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.portal-topbar-logoutfx:hover {
    transform: translateY(-1px);
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.24);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.10),
        0 12px 26px rgba(3, 16, 48, 0.24);
}

/* ===== HERO / CARDS / PANEL ===== */

.portal-hero-box {
    margin: 26px 0 22px;
    padding: 24px 26px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255,255,255,0.88) 0%, rgba(242,247,253,0.92) 100%);
    border: 1px solid rgba(214, 226, 243, 0.88);
    box-shadow: 0 18px 44px rgba(17, 42, 77, 0.08);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.portal-hero-box-copy {
    max-width: 760px;
}

.portal-hero-box-kicker {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6d83a1;
}

.portal-hero-box h2 {
    margin: 0 0 10px;
    font-size: 30px;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #0a254e;
    font-weight: 500;
}

.portal-hero-box p {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: #6b7f99;
}

.portal-hero-box-side {
    min-width: 180px;
}

.portal-hero-stat {
    padding: 18px;
    border-radius: 16px;
    background: rgba(255,255,255,0.74);
    border: 1px solid rgba(214, 226, 243, 0.88);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.portal-hero-stat small {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    color: #71839c;
}

.portal-hero-stat strong {
    font-size: 30px;
    line-height: 1;
    color: #123760;
    letter-spacing: -0.03em;
    font-weight: 500;
}

.portal-grid-premium {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 22px;
}

.portal-card-premium {
    border-radius: 16px;
    padding: 18px;
    border: 1px solid #e3ecf6;
    box-shadow: 0 6px 18px rgba(20,40,80,0.04);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

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

.portal-card-capital {
    background: linear-gradient(180deg, #f8fbff 0%, #f2f7fd 100%);
}

.portal-card-profit {
    background: linear-gradient(180deg, #f8fcfa 0%, #eff8f2 100%);
}

.portal-card-maturity {
    background: linear-gradient(180deg, #fcfbf8 0%, #f8f4eb 100%);
}

.portal-card-messages {
    background: linear-gradient(180deg, #fafbfc 0%, #f3f6f9 100%);
}

.portal-card-capital:hover {
    box-shadow: 0 12px 28px rgba(47, 111, 222, 0.12);
    border-color: #cfe0f7;
}

.portal-card-profit:hover {
    box-shadow: 0 12px 28px rgba(31, 138, 96, 0.12);
    border-color: #d4eadc;
}

.portal-card-maturity:hover {
    box-shadow: 0 12px 28px rgba(180, 140, 42, 0.12);
    border-color: #eadfbe;
}

.portal-card-messages:hover {
    box-shadow: 0 12px 28px rgba(90, 110, 140, 0.10);
    border-color: #dce5ef;
}

.portal-card-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.portal-card-icon {
    width: 16px;
    height: 16px;
    color: #2f6fde;
    opacity: 0.95;
    display: flex;
}

.portal-card-icon svg {
    width: 16px;
    height: 16px;
}

.portal-card-kicker {
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #5f7fa8;
    font-weight: 600;
}

.portal-card-premium h3 {
    font-size: 15px;
    font-weight: 500;
    margin: 6px 0;
    color: #0b2e6b;
    letter-spacing: -0.01em;
}

.portal-card-premium strong {
    font-size: 26px;
    font-weight: 500;
    color: #0a254e;
    letter-spacing: -0.03em;
    display: block;
    margin-bottom: 6px;
}

.portal-card-trend {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.portal-card-trend.is-up {
    color: #1f8a60;
}

.portal-card-trend.is-soft {
    color: #8a6a1f;
}

.portal-card-trend.is-neutral {
    color: #6f839e;
}

.portal-card-premium p {
    margin: 0;
    font-size: 13px;
    color: #6f839e;
    line-height: 1.6;
}

.portal-panel-premium {
    border-radius: 18px;
    background: #f4f8fc;
    border: 1px solid #e3ecf6;
    padding: 22px;
}

.portal-panel-headline {
    margin-bottom: 10px;
}

.portal-panel-kicker {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6c84a4;
}

.portal-panel-premium h2 {
    margin: 0;
    font-size: 28px;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #0a254e;
    font-weight: 500;
}

.portal-panel-premium p {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: #677c97;
}

/* ===== PREMIUM DEPOSIT LIST ===== */

.portal-deposit-list {
    margin-top: 20px;
    display: grid;
    gap: 18px;
}

.portal-deposit-card {
    border-radius: 18px;
    padding: 20px;
    background: linear-gradient(180deg, #fbfdff 0%, #f4f8fc 100%);
    border: 1px solid #e3ecf6;
    box-shadow: 0 8px 24px rgba(20, 40, 80, 0.05);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.portal-deposit-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(20, 40, 80, 0.08);
}

.portal-deposit-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.portal-deposit-bank {
    display: flex;
    align-items: center;
    gap: 14px;
}

.portal-deposit-bank-logo {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e5edf6;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.portal-deposit-bank-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 8px;
}

.portal-deposit-bank-logo span {
    font-size: 11px;
    color: #7b91ab;
}

.portal-deposit-bank-meta h3 {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 500;
    color: #0a254e;
    letter-spacing: -0.02em;
}

.portal-deposit-bank-meta p {
    margin: 0;
    font-size: 13px;
    color: #6f839e;
    line-height: 1.6;
}

.portal-deposit-kicker {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #728bab;
}

.portal-deposit-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.portal-deposit-metric {
    padding: 14px;
    border-radius: 14px;
    background: rgba(255,255,255,0.78);
    border: 1px solid #e7eef6;
}

.portal-deposit-metric span {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    color: #7b90a9;
}

.portal-deposit-metric strong {
    font-size: 18px;
    font-weight: 500;
    color: #0a254e;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.portal-deposit-metric strong small {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 500;
    color: #7b90a9;
}

.portal-empty-premium {
    border-radius: 18px;
    padding: 18px 20px;
    background: linear-gradient(180deg, #fbfdff 0%, #f4f8fc 100%);
    border: 1px solid #e3ecf6;
    color: #6f839e;
    font-size: 14px;
    line-height: 1.7;
}

@media (max-width: 1100px) {
    .portal-grid-premium {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 980px) {
    .portal-topbar-homeblue .portal-topbar-inner {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .portal-topbar-actions-right {
        width: 100%;
        justify-content: flex-start;
    }

    .portal-topbar-divider {
        display: none;
    }

    .portal-deposit-card-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .portal-deposit-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .portal-hero-box {
        flex-direction: column;
    }

    .portal-hero-box-side {
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .portal-grid-premium,
    .portal-deposit-metrics {
        grid-template-columns: 1fr;
    }

    .portal-deposit-bank {
        align-items: flex-start;
    }
}
/* ===== DEPOSIT PROGRESS / WATER EFFECT ===== */

.portal-deposit-progress-wrap {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #e7eef6;
}

.portal-deposit-progress-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
}

.portal-deposit-progress-label {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    color: #7b90a9;
}

.portal-deposit-progress-head strong {
    font-size: 18px;
    font-weight: 500;
    color: #0a254e;
    letter-spacing: -0.02em;
}

.portal-deposit-progress-side span {
    font-size: 13px;
    color: #5f7fa8;
    white-space: nowrap;
}

.portal-deposit-progressbar {
    position: relative;
    height: 14px;
    border-radius: 999px;
    overflow: hidden;
    background: #e9f0f8;
    border: 1px solid #dce7f2;
}

.portal-deposit-progressfill {
    position: relative;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #5ea8ff 0%, #2f6fde 100%);
    overflow: hidden;
    min-width: 6px;
}

.portal-deposit-wave {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image:
        radial-gradient(circle at 10px 7px, rgba(255,255,255,0.85) 0, rgba(255,255,255,0.85) 2px, transparent 2.5px),
        radial-gradient(circle at 26px 7px, rgba(255,255,255,0.55) 0, rgba(255,255,255,0.55) 2px, transparent 2.5px);
    background-size: 36px 14px;
    animation: portalWaveMove 2.2s linear infinite;
}

@keyframes portalWaveMove {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(36px);
    }
}

.portal-deposit-progress-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.portal-deposit-progress-meta-item {
    padding: 12px 13px;
    border-radius: 12px;
    background: rgba(255,255,255,0.72);
    border: 1px solid #e7eef6;
}

.portal-deposit-progress-meta-item span {
    display: block;
    margin-bottom: 5px;
    font-size: 12px;
    color: #7b90a9;
}

.portal-deposit-progress-meta-item strong {
    font-size: 15px;
    font-weight: 500;
    color: #0a254e;
    line-height: 1.35;
}

@media (max-width: 800px) {
    .portal-deposit-progress-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .portal-deposit-progress-meta {
        grid-template-columns: 1fr;
    }
}
/* ===== DEPOSIT PROGRESS / WATER EFFECT ===== */

.portal-deposit-progress-wrap {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #e7eef6;
}

.portal-deposit-progress-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
}

.portal-deposit-progress-label {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    color: #7b90a9;
}

.portal-deposit-progress-head strong {
    font-size: 18px;
    font-weight: 500;
    color: #0a254e;
    letter-spacing: -0.02em;
}

.portal-deposit-progress-side span {
    font-size: 13px;
    color: #5f7fa8;
    white-space: nowrap;
}

.portal-deposit-progressbar {
    position: relative;
    height: 14px;
    border-radius: 999px;
    overflow: hidden;
    background: #e9f0f8;
    border: 1px solid #dce7f2;
}

.portal-deposit-progressfill {
    position: relative;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #5ea8ff 0%, #2f6fde 100%);
    overflow: hidden;
    min-width: 6px;
}

.portal-deposit-wave {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image:
        radial-gradient(circle at 10px 7px, rgba(255,255,255,0.85) 0, rgba(255,255,255,0.85) 2px, transparent 2.5px),
        radial-gradient(circle at 26px 7px, rgba(255,255,255,0.55) 0, rgba(255,255,255,0.55) 2px, transparent 2.5px);
    background-size: 36px 14px;
    animation: portalWaveMove 2.2s linear infinite;
}

@keyframes portalWaveMove {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(36px);
    }
}

.portal-deposit-progress-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.portal-deposit-progress-meta-item {
    padding: 12px 13px;
    border-radius: 12px;
    background: rgba(255,255,255,0.72);
    border: 1px solid #e7eef6;
}

.portal-deposit-progress-meta-item span {
    display: block;
    margin-bottom: 5px;
    font-size: 12px;
    color: #7b90a9;
}

.portal-deposit-progress-meta-item strong {
    font-size: 15px;
    font-weight: 500;
    color: #0a254e;
    line-height: 1.35;
}

@media (max-width: 800px) {
    .portal-deposit-progress-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .portal-deposit-progress-meta {
        grid-template-columns: 1fr;
    }
}
/* ===== STRONGER WATER PROGRESS ===== */

.portal-deposit-progress-wrap-top {
    margin: 0 0 18px;
    padding: 14px 0 0;
}

.portal-deposit-progressbar-thick {
    position: relative;
    height: 50px; /* deblja linija */
    border-radius: 999px;
    overflow: hidden;
    background: linear-gradient(180deg, #eaf2fb 0%, #dfeaf6 100%);
    border: 1px solid #d3e0ee;
    box-shadow: inset 0 1px 2px rgba(20, 40, 80, 0.06);
}

.portal-deposit-progressfill-water {
    position: relative;
    height: 100%;
    min-width: 22px; /* da vizuelno ne izgleda kao tanka nula */
    border-radius: 999px;
    overflow: hidden;
    background: linear-gradient(90deg, #7cc0ff 0%, #4f97f0 45%, #2f6fde 100%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.28),
        inset 0 -1px 0 rgba(20,40,80,0.08);
}

/* jača voda */
.portal-deposit-wave-strong {
    position: absolute;
    inset: 0;
    opacity: 0.50;
    background-image:
        radial-gradient(circle at 12px 8px, rgba(255,255,255,0.88) 0, rgba(255,255,255,0.88) 2.8px, transparent 3.2px),
        radial-gradient(circle at 32px 11px, rgba(255,255,255,0.58) 0, rgba(255,255,255,0.58) 3px, transparent 3.5px),
        radial-gradient(circle at 52px 7px, rgba(255,255,255,0.42) 0, rgba(255,255,255,0.42) 2.5px, transparent 3px);
    background-size: 64px 20px;
    animation: portalWaveMoveStrong 2.2s linear infinite;
}

.portal-deposit-wave-second {
    opacity: 0.28;
    animation-duration: 3.6s;
    animation-direction: reverse;
}

@keyframes portalWaveMoveStrong {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(64px);
    }
}

/* progress head malo izraženiji */
.portal-deposit-progress-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
}

.portal-deposit-progress-label {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    color: #6f86a4;
}

.portal-deposit-progress-head strong {
    font-size: 18px;
    font-weight: 500;
    color: #0a254e;
    letter-spacing: -0.02em;
}

.portal-deposit-progress-side span {
    font-size: 13px;
    color: #4f76a6;
    white-space: nowrap;
}
/* ===== TIMELINE ===== */

.portal-deposit-timeline {
    position: relative;
    margin-top: 14px;
    padding-top: 8px;
}

.portal-deposit-timeline-line {
    position: relative;
    height: 4px;
    border-radius: 999px;
    background: #e3ecf6;
    overflow: hidden;
}

.portal-deposit-timeline-progress {
    position: absolute;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #6fb6ff 0%, #2f6fde 100%);
    box-shadow: 0 0 8px rgba(47, 111, 222, 0.35);
}

/* points */
.portal-deposit-timeline-points {
    position: relative;
    margin-top: 10px;
    height: 26px;
}

/* base */
.portal-deposit-timeline-point {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    text-align: center;
}

/* start */
.portal-deposit-timeline-point.is-start {
    left: 0%;
    transform: translateX(0);
}

/* end */
.portal-deposit-timeline-point.is-end {
    left: 100%;
    transform: translateX(-100%);
}

/* dots */
.portal-deposit-dot {
    display: block;
    width: 8px;
    height: 8px;
    margin: 0 auto 4px;
    border-radius: 50%;
    background: #9fb5cf;
}

/* current animated dot */
.portal-deposit-dot-live {
    width: 10px;
    height: 10px;
    background: #2f6fde;
    box-shadow: 0 0 0 0 rgba(47,111,222,0.5);
    animation: portalPulse 1.8s infinite;
}

@keyframes portalPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(47,111,222,0.5);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(47,111,222,0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(47,111,222,0);
    }
}

/* text */
.portal-deposit-timeline-point small {
    font-size: 11px;
    color: #6f839e;
    white-space: nowrap;
}
/* ===== TODAY LINE + COUNTDOWN BADGE ===== */

.portal-deposit-timeline {
    position: relative;
    margin-top: 14px;
    padding-top: 14px;
}

.portal-deposit-countdown-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(180deg, #f6e7b8 0%, #edd38a 100%);
    border: 1px solid #e0c06a;
    color: #7a5a12;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 6px 16px rgba(180, 140, 42, 0.16);
}

.portal-deposit-today-line {
    position: absolute;
    top: 42px; /* prilagođeno da kreće od timeline zone */
    bottom: 30px;
    width: 2px;
    background: linear-gradient(
        180deg,
        rgba(47,111,222,0.00) 0%,
        rgba(47,111,222,0.65) 20%,
        rgba(47,111,222,0.65) 80%,
        rgba(47,111,222,0.00) 100%
    );
    transform: translateX(-50%);
    z-index: 1;
    pointer-events: none;
}

/* malo jači current marker */
.portal-deposit-timeline-point.is-current {
    z-index: 2;
}

.portal-deposit-dot-live {
    width: 10px;
    height: 10px;
    background: #2f6fde;
    box-shadow: 0 0 0 0 rgba(47,111,222,0.5);
    animation: portalPulse 1.8s infinite;
}
.portal-deposit-countdown-badge.is-gold {
    background: linear-gradient(180deg, #f6e7b8 0%, #edd38a 100%);
    border: 1px solid #e0c06a;
    color: #7a5a12;
    box-shadow: 0 6px 16px rgba(180, 140, 42, 0.16);
}

.portal-deposit-countdown-badge.is-green {
    background: linear-gradient(180deg, #dbf3e3 0%, #c7ebd3 100%);
    border: 1px solid #9fd0b0;
    color: #1f6a3e;
    box-shadow: 0 6px 16px rgba(31, 106, 62, 0.12);
}

.portal-deposit-countdown-badge.is-red {
    background: linear-gradient(180deg, #fde2e2 0%, #f8cfcf 100%);
    border: 1px solid #e7a8a8;
    color: #a12d2d;
    box-shadow: 0 6px 16px rgba(161, 45, 45, 0.12);
}

.portal-deposit-countdown-badge.is-amber {
    background: linear-gradient(180deg, #fff2d8 0%, #fde8bc 100%);
    border: 1px solid #ebcb85;
    color: #8a6414;
    box-shadow: 0 6px 16px rgba(138, 100, 20, 0.12);
}
.portal-footer-shared {
    margin-top: 34px;
    background: linear-gradient(135deg, #082c86 0%, #0a349a 35%, #123ea8 100%);
    border-top: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 -10px 30px rgba(5, 25, 70, 0.16);
}

.portal-footer-shared-inner {
    min-height: 88px;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.portal-footer-shared-left {
    display: flex;
    align-items: center;
}

.portal-footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.portal-footer-logo {
    width: 40px;
    height: auto;
    display: block;
    object-fit: contain;
}

.portal-footer-brand-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.portal-footer-brand-text strong {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.portal-footer-brand-text span {
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255,255,255,0.76);
    max-width: 420px;
}

.portal-footer-shared-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    flex-wrap: wrap;
}

.portal-footer-shared-right a {
    position: relative;
    color: rgba(255,255,255,0.90);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.18s ease, transform 0.18s ease;
}

.portal-footer-shared-right a:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.portal-footer-shared-right a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    height: 1px;
    background: rgba(255,255,255,0.55);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.18s ease;
}

.portal-footer-shared-right a:hover::after {
    transform: scaleX(1);
}

@media (max-width: 900px) {
    .portal-footer-shared-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .portal-footer-shared-right {
        justify-content: flex-start;
    }

    .portal-footer-logo {
        width: 95px;
    }
}
/* ===== MESSAGES PAGE ===== */

.portal-message-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 20px;
    margin-top: 20px;
}

.portal-message-panel {
    height: 100%;
}

.portal-message-form .portal-form-grid-premium {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.portal-form-group label {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 600;
    color: #163c67;
}

.portal-form-group input,
.portal-form-group select,
.portal-form-group textarea {
    width: 100%;
    border-radius: 14px;
    border: 1px solid #dbe6f1;
    background: rgba(255,255,255,0.86);
    color: #0a254e;
    font-size: 14px;
    line-height: 1.5;
    padding: 13px 14px;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.portal-form-group input:focus,
.portal-form-group select:focus,
.portal-form-group textarea:focus {
    border-color: #a9c3e8;
    box-shadow: 0 0 0 4px rgba(47, 111, 222, 0.08);
    background: #ffffff;
}

.portal-form-group textarea {
    min-height: 170px;
    resize: vertical;
}

.portal-message-submit-row {
    margin-top: 18px;
}

.portal-btn-premium-send {
    min-width: 220px;
    width: auto;
    border-radius: 14px;
    padding: 12px 20px;
    box-shadow: 0 10px 24px rgba(20, 40, 80, 0.10);
}

/* thread list */
.portal-thread-list-premium {
    margin-top: 18px;
    display: grid;
    gap: 14px;
}

.portal-thread-item-premium {
    border-radius: 16px;
    padding: 16px 16px;
    border: 1px solid #e3ecf6;
    background: linear-gradient(180deg, #fbfdff 0%, #f5f9fd 100%);
    box-shadow: 0 6px 18px rgba(20, 40, 80, 0.04);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.portal-thread-item-premium:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(20, 40, 80, 0.08);
}

.portal-thread-item-premium.is-admin {
    border-left: 4px solid #2f6fde;
}

.portal-thread-item-premium.is-user {
    border-left: 4px solid #75b798;
}

.portal-thread-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.portal-thread-top-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.portal-soft-chip-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.portal-soft-chip-premium.is-admin {
    background: rgba(47, 111, 222, 0.10);
    color: #1f5ccc;
}

.portal-soft-chip-premium.is-user {
    background: rgba(117, 183, 152, 0.16);
    color: #28724f;
}

.portal-thread-department {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.72);
    border: 1px solid #e1eaf4;
    color: #68809d;
    font-size: 12px;
    font-weight: 600;
}

.portal-thread-date {
    font-size: 12px;
    color: #7d90a8;
    white-space: nowrap;
}

.portal-thread-item-premium h3 {
    margin: 0 0 8px;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 500;
    color: #0a254e;
    letter-spacing: -0.01em;
}

.portal-thread-body {
    font-size: 14px;
    line-height: 1.75;
    color: #5f7795;
}

/* flash */
.portal-flash {
    margin-bottom: 16px;
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 600;
}

.portal-flash-success {
    background: rgba(117, 183, 152, 0.14);
    border: 1px solid rgba(117, 183, 152, 0.26);
    color: #256847;
}

.portal-flash-error {
    background: rgba(226, 106, 106, 0.12);
    border: 1px solid rgba(226, 106, 106, 0.24);
    color: #a13b3b;
}

@media (max-width: 980px) {
    .portal-message-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .portal-message-form .portal-form-grid-premium {
        grid-template-columns: 1fr;
    }
}
/* ===== PROFILE PAGE ===== */

.portal-profile-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 20px;
    margin-top: 20px;
}

.portal-profile-panel {
    height: 100%;
}

.portal-avatar-block-premium {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px;
    border-radius: 16px;
    background: linear-gradient(180deg, #fbfdff 0%, #f5f9fd 100%);
    border: 1px solid #e3ecf6;
}

.portal-avatar-preview-premium {
    width: 92px;
    height: 92px;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid #dfe8f3;
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(20, 40, 80, 0.06);
    flex: 0 0 92px;
}

.portal-avatar-preview-premium img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portal-profile-form .portal-form-grid-premium {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.portal-profile-submit-row {
    margin-top: 18px;
}

.portal-profile-note-panel {
    margin-top: 20px;
}

.portal-profile-note-head {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 12px;
    align-items: flex-start;
}

.portal-profile-note-icon {
    color: #2f6fde;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.portal-profile-note-icon svg {
    width: 18px;
    height: 18px;
}

.portal-profile-note-head h3 {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 500;
    color: #0a254e;
    letter-spacing: -0.01em;
}

.portal-profile-note-head p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #6f839e;
}

.portal-hero-stat-iconbox {
    text-align: left;
}

.portal-hero-stat-svg {
    display: inline-flex;
    width: 18px;
    height: 18px;
    color: #2f6fde;
    margin-bottom: 8px;
}

.portal-hero-stat-svg svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 980px) {
    .portal-profile-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .portal-profile-form .portal-form-grid-premium {
        grid-template-columns: 1fr;
    }

    .portal-avatar-block-premium {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* ===== KYC PAGE ===== */

.portal-inline-link {
    color: #2f6fde;
    text-decoration: none;
    font-weight: 600;
}

.portal-inline-link:hover {
    color: #1f5ccc;
    text-decoration: underline;
}

.portal-kyc-item .portal-thread-item-premium {
    border-left-color: #2f6fde;
}

.portal-kyc-status.approved {
    background: rgba(117, 183, 152, 0.16);
    border-color: rgba(117, 183, 152, 0.22);
    color: #28724f;
}

.portal-kyc-status.rejected {
    background: rgba(226, 106, 106, 0.14);
    border-color: rgba(226, 106, 106, 0.20);
    color: #a13b3b;
}

.portal-kyc-status.pending {
    background: rgba(240, 197, 107, 0.18);
    border-color: rgba(240, 197, 107, 0.24);
    color: #916f1b;
}

.portal-kyc-note {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255,255,255,0.72);
    border: 1px solid #e2ebf5;
}

.portal-kyc-note strong {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #0a254e;
}

.portal-kyc-note p {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    color: #5f7795;
}
.portal-kyc-item {
    border-left: 4px solid #2f6fde;
}
html, body {
    min-height: 100%;
}

body.portal-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.portal-main {
    flex: 1 0 auto;
}

.portal-footer-shared {
    margin-top: 0;
    flex-shrink: 0;
}
/* DOCUMENTS */

.portal-doc-list {
    margin-top: 20px;
    display: grid;
    gap: 14px;
}

.portal-doc-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid #e3ecf6;
    background: linear-gradient(180deg, #fbfdff 0%, #f5f9fd 100%);
    transition: all 0.2s ease;
}

.portal-doc-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(20,40,80,0.08);
}

.portal-doc-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.portal-doc-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(47,111,222,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2f6fde;
}

.portal-doc-icon svg {
    width: 20px;
    height: 20px;
}

.portal-doc-info strong {
    font-size: 15px;
    font-weight: 600;
    color: #0a254e;
}

.portal-doc-meta {
    display: flex;
    gap: 10px;
    font-size: 12px;
    color: #6f839e;
    margin-top: 4px;
}

.portal-doc-meta span::after {
    content: "•";
    margin-left: 8px;
}

.portal-doc-meta span:last-child::after {
    display: none;
}

.portal-doc-btn {
    padding: 8px 14px;
    border-radius: 10px;
    background: #2f6fde;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s ease;
}

.portal-doc-btn:hover {
    background: #1f5ccc;
}
/* DOCUMENT ACTIONS */

.portal-doc-right {
    display: flex;
    gap: 8px;
}

.portal-doc-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.portal-doc-btn svg {
    width: 14px;
    height: 14px;
}

/* OPEN */
.portal-doc-open {
    background: #2f6fde;
    color: #fff;
}

.portal-doc-open:hover {
    background: #1f5ccc;
}

/* DOWNLOAD */
.portal-doc-download {
    background: rgba(47,111,222,0.10);
    color: #2f6fde;
    border: 1px solid rgba(47,111,222,0.2);
}

.portal-doc-download:hover {
    background: rgba(47,111,222,0.18);
}

/* DATE + TIME polish */
.portal-topbar-dateonly {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.3px;
}
.portal-card-top {
    position: relative;
}

.portal-card-notify-badge {
    margin-left: auto;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #dc2626;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 6px 14px rgba(220, 38, 38, 0.22);
}

.portal-card-trend.is-alert {
    color: #c62828;
    font-weight: 700;
}
.portal-topbar-linkfx-notify {
    position: relative;
}

.portal-topbar-notify-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    margin-left: 4px;
    border-radius: 999px;
    background: #dc2626;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.30);
}
.portal-kyc-status {
    margin-top: 10px;
}

.portal-kyc-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.portal-kyc-badge svg {
    width: 14px;
    height: 14px;
}

/* GREEN */
.portal-kyc-badge.is-approved {
    background: rgba(22, 163, 74, 0.12);
    color: #15803d;
}

/* RED */
.portal-kyc-badge.is-rejected {
    background: rgba(220, 38, 38, 0.12);
    color: #b91c1c;
}

/* ORANGE */
.portal-kyc-badge.is-pending {
    background: rgba(245, 158, 11, 0.15);
    color: #b45309;
}
