
@font-face {
    font-family: 'Rokkitt';
    src: url('/styles/fonts/Rokkitt-VariableFont_wght.ttf');
}

@font-face {
  font-family: "Rokkitt";
  src: url("/styles/fonts/Rokkitt-Regular.ttf");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Rokkitt";
  src: url("/styles/fonts/Rokkitt-Bold.ttf");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Rokkitt";
  src: url("/styles/fonts/Rokkitt-Light.ttf");
  font-weight: normal;
  font-style: italic;
}

/* ============================================================================
   COLOR PALETTE - Karbonoir Brand Colors
   ============================================================================ */
:root {
    --primary-red: #dc2626;
    --primary-red-hover: #b91c1c;
    --primary-red-light: #ef4444;
    --dark-bg: #1a1a1a;
    --dark-bg-secondary: #222222;
    --dark-bg-tertiary: #2a2a2a;
    --dark-purple: #1e1b2e;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-light: #f5f5f5;
    --text-muted: #9ca3af;
    --border-light: rgba(255, 255, 255, 0.1);
    --border-dark: rgba(0, 0, 0, 0.1);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
}

table {
    border-collapse: collapse;
    margin: auto;
    font-size: 16px;
    min-width: 100%;
}

/* Ensure all tables can scroll horizontally on mobile */
@media screen and (max-width: 980px) {
    table {
        overflow-x: auto;
        display: block;
        white-space: nowrap;
    }
    
    table td,
    table th {
        white-space: nowrap;
    }
}
    table th, table td {
	border: 1px solid var(--border-dark);
    text-align: left;
}

td{
	padding: 3px 5px;
}
    tr:nth-child(odd) {
      background: rgba(0, 0, 0, 0.02);
    }

/* width */
::-webkit-scrollbar {
    width: 8px;
}
/* Track */
::-webkit-scrollbar-track {
    background: var(--dark-bg-secondary); 
} 
/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--primary-red); 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-red-hover);
}
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: var(--text-muted);
  font-weight:300;
  font-size:16px;
}
::-moz-placeholder { /* Firefox 19+ */
  color: var(--text-muted);
  font-weight:300;
}
:-moz-placeholder { /* Firefox 18- */
  color: var(--text-muted);
  font-weight:300;
}
a:link{
color: var(--primary-red);
text-decoration:none;
transition: color 0.3s ease;
-webkit-transition: color 0.3s ease;
}
a:visited {
color: var(--primary-red);
text-decoration:none;
transition: color 0.3s ease;
-webkit-transition: color 0.3s ease;
}
a:hover{
color: var(--primary-red-hover);
text-decoration:underline;
}
a:active{
color: var(--primary-red-hover);
text-decoration:underline;
}

a.alt:link{
color: var(--text-muted);
text-decoration:none;
transition: color 0.3s ease;
-webkit-transition: color 0.3s ease;
}
a.alt:visited {
color: var(--text-muted);
text-decoration:none;
transition: color 0.3s ease;
-webkit-transition: color 0.3s ease;
}
a.alt:active{
color: var(--text-dark);
}
a.alt:hover {
color: var(--text-dark);
}
html,
body {
margin:0;
padding:0;
height:100%;
}
body{
background-color: var(--white);
text-align:center;
font-family: 'Rokkitt', sans-serif;
font-size:18px;
color: var(--text-dark);
margin-bottom: 150px;
}
h1 {
    font-weight: 700;
    font-size: 32px;
    color: var(--text-dark);
    text-align: center;
    margin: 25px auto 40px auto;
    border-bottom: 3px solid var(--primary-red);
    padding: 15px 10px 12px 10px;
    box-shadow: none;
    letter-spacing: 1px;
    text-shadow: none;
    max-width: 600px;
    font-family: 'Rokkitt', sans-serif;
}

h2, h3 {
    text-align: center;
    color: var(--text-dark);
}

h4 {
    font-size: 1.5em;
    font-weight: 600;
    color: var(--text-dark);
    margin: 30px 0 20px 0;
    padding: 15px 0;
    border-bottom: 2px solid var(--border-dark);
    text-align: center;
    letter-spacing: -0.3px;
}
img, video{
	max-width:100%
}

/*-----------------------------------------------------------------------------------*/
/*FORM CONTAINERS*/
/*-----------------------------------------------------------------------------------*/

.form-container {
    max-width: 600px;
    margin: auto;
    padding: 30px;
    border-radius: 8px;
    background: var(--white);
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-dark);
}

.form-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    text-align: center;
}

/*-----------------------------------------------------------------------------------*/
/* DIVIDER */
/*-----------------------------------------------------------------------------------*/
.divider {
    height: 1px;
    width: 100%;
    background-color: var(--border-dark);
    margin: 15px 0;
}

/*-----------------------------------------------------------------------------------*/
/* VNOSNO POLJE ŠTEVILK */
/*-----------------------------------------------------------------------------------*/
.input3 {
    padding: 10px 12px;
    margin-bottom: 10px;
    margin-top: 2px;
    width: 90%;
    max-width: 500px;
    font-size: 18px;
    border: 2px solid var(--border-dark);
    border-radius: 6px;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--text-dark);
}
.input3:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}
.input3:invalid {
    border-color: var(--primary-red);
}
.input3:disabled, select:disabled {
    background-color: #f3f4f6;
    color: var(--text-muted);
    border: 1px solid var(--border-dark);
    cursor: not-allowed;
}

.label {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 500;
}


/*-----------------------------------------------------------------------------------*/
/* EUR znak */
/*-----------------------------------------------------------------------------------*/
.currency-symbol {
    position: absolute;
    right: 10px; 
    font-size: 22px;
    color: var(--primary-red);
    font-weight: bold;
    display: flex;
    align-items: center;
    height: 100%; 
    margin-bottom: 20px;
}


/*-----------------------------------------------------------------------------------*/
/* DROPDOWN ANIMACIJA */
/*-----------------------------------------------------------------------------------*/
.animated-section {
    display: none;
    width: 100%;
    margin-top: 10px;
    transition: max-height 0.4s ease-in-out, opacity 0.4s ease-in-out;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    padding: 0; 
    border: none; 
    background: none; 
}


/*-----------------------------------------------------------------------------------*/
/* OPOMBA OKVIR */
/*-----------------------------------------------------------------------------------*/
.textarea {
    width: 100%;
    font-size: 18px;
    padding: 12px;
    border-radius: 6px;
    border: 2px solid var(--border-dark);
    background: var(--white); 
    color: var(--text-dark);
    font-weight: normal;
    outline: none;
    transition: all 0.3s ease;
}

.textarea:focus {
    border-color: var(--primary-red);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}


/*-----------------------------------------------------------------------------------*/
/* TEXT GUMB */
/*-----------------------------------------------------------------------------------*/
.toggle-btn {
    background: transparent;
    color: var(--primary-red);
    border: none;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.toggle-btn:hover {
    color: var(--primary-red-hover);
}




/*-----------------------------------------------------------------------------------*/
/* INFO SPOROČILA */
/*-----------------------------------------------------------------------------------*/
.error{
    border-color: var(--primary-red) !important;
}
.error-message {
    display: none;
    color: var(--primary-red);
    text-align: center;
    font-weight: 600;
}

.info-text {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

.success-message {
    display: none;
    text-align: center;
    color: #10b981;
    font-weight: bold;
}
/*-----------------------------------------------------------------------------------*/
/* FLAG */
/*-----------------------------------------------------------------------------------*/
.greenflag{
    background-color:#10b981;
}
.yellowflag{
    background-color:#fbbf24;
}
.orangeflag{
    background-color:#f97316;
}
.redflag{
    background-color: var(--primary-red);
}

/*-----------------------------------------------------------------------------------*/
/* COPY GUMB */
/*-----------------------------------------------------------------------------------*/
.copy-btn {
    background: none;
    border: none;
    font-size: 20px;
    top: 0;
    right: 0;
    padding: 2px;
    color: var(--primary-red);
    transition: color 0.3s ease;
}

.copy-btn:hover {
    color: var(--primary-red-hover);
}


/*-----------------------------------------------------------------------------------*/
/* IOKNA HOVER PODATKOV */
/*-----------------------------------------------------------------------------------*/
.status-tooltip {
    display: inline-block;
    margin-left: 8px;
    cursor: pointer;
    font-size: 16px;
    position: relative;
    z-index: 10;
    color: var(--primary-red);
}
/*-----------------------------------------------------------------------------------*/
/* Tooltip (skrit, dokler ni hover) */
/*-----------------------------------------------------------------------------------*/
.status-tooltip::after {
    z-index: 9999;  
    content: attr(data-tooltip);
    display: none;
    position: absolute;
    background: var(--dark-bg);
    color: var(--white);
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    white-space: normal;
    word-wrap: break-word;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    max-width: 300px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
    visibility: hidden;
    box-shadow: var(--shadow-lg);
}

/* Prikaže tooltip na hover */
.status-tooltip:hover::after {
    display: block;
    opacity: 1;
    visibility: visible;
}


/*-----------------------------------------------------------------------------------*/
/* GUMB ZA SPREMENI IN PREKLICI */
/*-----------------------------------------------------------------------------------*/

.spremeni, .preklici {
    border: none;
    background-color: var(--primary-red);
    color: var(--white);
    width: 100px;
    margin: 5px auto;
    padding: 10px;
    cursor: pointer;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.spremeni:hover, .preklici:hover {
    background-color: var(--primary-red-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/*-----------------------------------------------------------------------------------*/
/* TABELA */
/*-----------------------------------------------------------------------------------*/

/* Osnovni slog tabele */
.tabela {
    width: 100%;
    border-collapse: collapse;
    font-size: 18px;
    background: var(--white);
}

/* Naslov tabele */
.tabela-naslov {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
    color: var(--text-dark);
}

/* Oblika celic */
.tabela td, 
.tabela th {
    padding: 12px;
    text-align: center;
    border: 1px solid var(--border-dark);
}
.tabela-container {
    border-radius: 8px;
    margin-top: 0px;
    padding-top: 0px;
    overflow-x: hidden;
    white-space: normal;
    margin: 0 auto;
    margin-left: 15px;
    box-shadow: var(--shadow-sm);
}

/* Make .tabela header sticky */
.tabela th {
    position: sticky;
    top: 0;
    background: var(--dark-bg-secondary);
    color: var(--white);
    z-index: 2;
    font-weight: 600;
}
.tabela2 th {
    position: sticky;
    top: 0;
    background: var(--dark-bg-secondary);
    color: var(--white);
    z-index: 2;
    font-weight: 600;
}

@media screen and (max-width: 980px) {
    .tabela,
    .tabela2,
    .pod-tabela {
        min-width: 100%;
        overflow-x: auto;
        display: block;
        white-space: nowrap;
    }
    
    .tabela-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 10px;
    }
    
    /* Ensure table content doesn't wrap on mobile */
    .tabela td,
    .tabela th,
    .tabela2 td,
    .tabela2 th,
    .pod-tabela td,
    .pod-tabela th {
        white-space: nowrap;
        min-width: auto;
    }
    
    /* Add horizontal scroll indicator */
    .tabela-container::after {
        content: "← Swipe to see more →";
        display: block;
        text-align: center;
        color: var(--text-muted);
        font-size: 12px;
        margin-top: 10px;
        opacity: 0.7;
    }
}
        /*-----------------------------------------------------------------------------------*/
                                    /* PODTABELA */
        /*-----------------------------------------------------------------------------------*/
       
	.pod-tabela {
        width: 100%;
        border-collapse: collapse;
        margin-top: 10px;
        font-size: 16px;
    }
    
    .pod-tabela th,
    .pod-tabela td {
        border: 1px solid var(--border-dark);
        text-align: left;
    }
    
    .pod-tabela th {
        background-color: var(--dark-bg-secondary);
        color: var(--white);
    }
    
    .pod-tabela tbody tr:nth-child(odd) {
        background-color: rgba(0, 0, 0, 0.02);
    }

/*-----------------------------------------------------------------------------------*/
/* TOOLTIP */
/*-----------------------------------------------------------------------------------*/
.status-tooltip {
        pointer-events: auto;
    }

.status-tooltip::after {
    bottom: 140%;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    max-width: 320px;
    font-size: 16px;
    padding: 12px;
    text-align: center;
    z-index: 9999;
    }


/*-----------------------------------------------------------------------------------*/
/* Opozorilo */
/*-----------------------------------------------------------------------------------*/
.investment-warning {
    display: none;
    margin-top: 20px;
    padding: 15px;
    background: #fef3c7;
    border: 2px solid #fbbf24;
    border-radius: 6px;
    text-align: center;
}
.investment-warning p {
    color: var(--text-dark);
    font-weight: bold;
    font-size: 16px;
}    

/*-----------------------------------------------------------------------------------*/
/* GUMB */
/*-----------------------------------------------------------------------------------*/

.button2{
	border: none;
	background-color: var(--primary-red);
	color: var(--white);
	width:150px;
	margin:5px auto;
	padding:12px;
	cursor:pointer;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
    .button2:hover {
        background-color: var(--primary-red-hover);
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }


.altbutton{
	border: 2px solid var(--primary-red);
    background-color: var(--primary-red);
    color: var(--white);
    width: 220px;
    margin: 10px auto;
    padding: 13px;
    cursor: pointer;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.altbutton:hover {
    background-color: var(--primary-red-hover);
    border-color: var(--primary-red-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/*-----------------------------------------------------------------------------------*/
/* GUMB DOLG */
/*-----------------------------------------------------------------------------------*/
.button3 {
    width: 100%;
    padding: 14px;
    font-size: 18px;
    background: var(--primary-red);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.button3:hover {
    background: var(--primary-red-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
/*-----------------------------------------------------------------------------------*/
/* GUMB MANJSI */
/*-----------------------------------------------------------------------------------*/
.btn-short {
    display: inline-block;
    background: var(--primary-red);
    color: var(--white);
    font-size: 15px;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    border: none;
    margin-left: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 600;
}

.btn-short:hover {
    background-color: var(--primary-red-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}




/*-----------------------------------------------------------------------------------*/
/* LADDER TABELA */
/*-----------------------------------------------------------------------------------*/
.ladder-container {
    background-color: var(--white);
    padding: 20px;
    max-width: 400px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-dark);
}


.ladder-container h4 {
    margin-bottom: 10px;
    font-size: 1.2em;
    color: var(--text-dark);
	text-align: center;
}

.ladder-container li {
    list-style-type: none;
    padding: 10px;
    border-bottom: 1px solid var(--border-dark);
    font-size: 0.95em;
    color: var(--text-dark);
	text-align: center;
    width: 100%;
}

.ladder-container li:last-child {
    border-bottom: none;
}
/*------------------------------------------------------------*/
 /*PODMENI*/
 /*------------------------------------------------------------*/
 
 /* Centered Tab Styling with Enlarging Hover Effect */
 .tab {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--border-dark);
    width: 100%;
    padding: 0;
}

.tablinks {
    background-color: var(--white);
    border: 2px solid transparent;
    border-bottom: none;
    outline: none;
    cursor: pointer;
    padding: 12px 20px;
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 500;
    margin: 0 3px;
    position: relative;
    top: 2px;
    transition: all 0.3s ease;
    border-radius: 6px 6px 0 0;
}

/* Enlarging hover effect */
.tablinks:hover {
    background-color: #f9fafb;
    color: var(--primary-red);
    border-color: var(--border-dark);
    transform: translateY(-2px);
    z-index: 1;
}

.tablinks.active {
    background-color: var(--white);
    color: var(--primary-red);
    font-weight: 600;
    border-bottom: 2px solid var(--white);
    border-top: 2px solid var(--primary-red);
    border-left: 2px solid var(--primary-red);
    border-right: 2px solid var(--primary-red);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
    z-index: 2;
}

/* Tab content container */
#tab-content {
    background-color: var(--white);
    padding: 20px;
    min-height: 300px;
    border: 2px solid var(--primary-red);
    border-top: none;
    margin-top: -2px;
    border-radius: 0 0 8px 8px;
    box-shadow: var(--shadow-sm);
}

/* ---------------------------------------------------- */
/* Loading image styling */
/* ---------------------------------------------------- */
#loadericon{
    display: none;
    margin: auto;
    max-width:50px;
}




/* Responsive adjustments */
@media (max-width: 768px) {
    .tab {
        flex-direction: column;
        border-bottom: none;
    }
    
    .tablinks {
        border: 2px solid var(--border-dark);
        margin: 0 0 -2px 0;
        text-align: center;
        top: 0;
        border-radius: 6px;
    }
    
    .tablinks:hover {
        transform: none;
    }
    
    .tablinks.active {
        transform: none;
        border-left: 4px solid var(--primary-red);
        font-weight: 600;
    }
}




    .tablehead {
        border-bottom: 2px solid var(--primary-red);
        background-color: var(--dark-bg-secondary);
        color: var(--white);
    }
    .formholder{
        margin: 10px auto;
        width: 460px;
    }
    
    /* Mobile responsive styles for password change form */
    @media screen and (max-width: 768px) {
        .formholder {
            width: 90%;
            max-width: 400px;
            margin: 10px auto;
        }
        
        .clasicinput {
            font-size: 16px;
            height: 35px;
            margin: 2px 2px 12px 2px;
        }
        
        .inputexplainer {
            font-size: 14px;
            padding: 1px;
            margin: 1px;
        }
    }
    
    @media screen and (max-width: 480px) {
        .formholder {
            width: 95%;
            max-width: 350px;
        }
        
        .clasicinput {
            font-size: 16px;
            height: 40px;
            margin: 2px 1px 10px 1px;
        }
        
        .inputexplainer {
            font-size: 13px;
        }
    }
    .inputexplainer{
        padding: 2px;
        margin: 2px;
    }
    .clasicinput {
        width: 100%;
        border: 2px solid var(--border-dark);
        border-radius: 6px;
        height: 40px;
        font-size: 18px;
        margin: 2px 5px 15px 5px;
        padding: 8px 12px;
        transition: all 0.3s ease;
    }
    .clasicinput:focus {
        outline: none;
        border-color: var(--primary-red);
        box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
    }

    /* Loginform */
	.input-container {
		position: relative;
		margin: 10px auto;
		width: 360px;
	}
	.input-container input[type="text"] {
	  font-size: 20px;
	  width: 100%;
	  border: none;
	  border-bottom: 2px solid var(--border-dark);
	  padding: 5px 0;
	  background-color: transparent;
	  outline: none;
	  transition: border-color 0.3s ease;
	}
	.input-container input[type="password"] {
	  font-size: 20px;
	  width: 100%;
	  border: none;
	  border-bottom: 2px solid var(--border-dark);
	  padding: 5px 0;
	  background-color: transparent;
	  outline: none;
	  transition: border-color 0.3s ease;
	}
	.input-container input[type="text"]:focus {
	  border-bottom-color: var(--primary-red);
	}
	.input-container input[type="password"]:focus {
	  border-bottom-color: var(--primary-red);
	}
	.input-container .label {
	  position: absolute;
	  top: 0;
	  left: 0;
	  color: var(--text-muted);
	  transition: all 0.3s ease;
	  pointer-events: none;
	}
	.input-container input[type="text"]:focus ~ .label,
	.input-container input[type="text"]:valid ~ .label {
	  top: -20px;
	  font-size: 16px;
	  color: var(--primary-red);
	}
	.input-container input[type="password"]:focus ~ .label,
	.input-container input[type="password"]:valid ~ .label {
	  top: -20px;
	  font-size: 16px;
	  color: var(--primary-red);
	}
	.input-container .underline {
	  position: absolute;
	  bottom: 0;
	  left: 0;
	  height: 2px;
	  width: 100%;
	  background-color: var(--primary-red);
	  transform: scaleX(0);
	  transition: all 0.3s ease;
	}
	.input-container input[type="text"]:focus ~ .underline,
	.input-container input[type="text"]:valid ~ .underline {
	  transform: scaleX(1);
	}
	.input-container input[type="password"]:focus ~ .underline,
	.input-container input[type="password"]:valid ~ .underline {
	  transform: scaleX(1);
	}
    #form2fa{
        display:none;
    }
    #try2fa {
        border: 0;
        border-bottom: 2px solid var(--primary-red);
        font-size: 40px;
        outline-width: 0;
        text-align: center;
        padding: 10px;
        max-width: 300px;
        margin: 50px auto;
        color: var(--text-dark);
    }

textarea{
    width: 95%;
    max-width: 400px;
    height: 70px;
    font-family: 'Rokkitt', sans-serif;
    font-size: 20px;
    display: block;
    margin: 20px auto;
    min-height: 65px;
    border: 2px solid var(--border-dark);
    border-radius: 6px;
    padding: 10px;
    transition: all 0.3s ease;
}
textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}
select {
    display: block;
    margin-bottom: 20px;
    margin-top: 2px;
    font-size: 18px;
    width: 90%;
    padding: 8px 12px;
	border: 2px solid var(--border-dark);
    border-radius: 6px;
    max-width: 368px;
    margin: auto;
    background: var(--white);
    color: var(--text-dark);
    transition: all 0.3s ease;
}
select:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.minibutton{
    padding: 5px !important;
    font-weight: 300 !important;
    font-size: 16px !important;
}
.sbsbutton{
    display: inline-block !important;
    margin:5px 8px !important;
}
.sbsbutton2{
    display: inline-block;
    margin:5px 8px !important;
}
.smallbutton{
    background-color: var(--primary-red);
    color: var(--white);
    display: inline-block;
    border: 0;
    border-radius: 6px;
    padding: 6px 15px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}
.smallbutton:hover {
    background-color: var(--primary-red-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.button {
	padding: 14px 30px;
    border: 0;
    max-width: 300px;
    border-radius: 8px;
    background-color: var(--primary-red);
    color: var(--white);
    font-weight: Bold;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    cursor: pointer;
    margin: auto;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.button:hover {
  background-color: var(--primary-red-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.button:active {
  background-color: var(--primary-red-hover);
  transition: all 0.2s;
  -webkit-transition: all 0.2s;
  box-shadow: var(--shadow-sm);
  transform: translateY(0);
}

#popup-background{
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    background-color: rgba(26, 26, 26, 0.85);
    width:100%;
    height:100%;
    z-index: 10;
}
#popup{
    display: none;
    position: fixed;
    border-radius: 8px;
    padding: 20px;
    min-height: 70px;
    max-height: 80vh;
    overflow-y: scroll;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 94%;
    max-width: 800px;
    background-color: var(--white);
    z-index: 11;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--primary-red);
}
    .popupx{
        position: absolute;
        right: 15px;
        margin: 0;
        padding: 5px;
        font-size: 40px;
        cursor: pointer;
        line-height: 50%;
        color: var(--primary-red);
        transition: color 0.3s ease;
    }
    .popupx:hover {
        color: var(--primary-red-hover);
    }
    .popup-content{
        display: block;
        margin:15px auto 5px auto;
        padding: 5px;
    }


.altbutton{
	border: 2px solid var(--primary-red);
    background-color: var(--primary-red);
    color: var(--white);
    width: 220px;
    margin: 10px auto;
    padding: 13px;
    cursor: pointer;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.altbutton:hover {
    background-color: var(--primary-red-hover);
    border-color: var(--primary-red-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.half{
	width:46%;
	margin:auto;
	display:inline-block;
	vertical-align:top;
}
.tretjina{
	width:30%;
	padding:5px;
	margin:auto;
	display:inline-block;
	vertical-align:top;
}
.levo{
	text-align:left;
}
.centr{
	text-align:center;
}
.debeu{
	font-weight: 700;
}
.seperator{
    margin-top: 20px;
}
.kurzorhover {
    cursor: pointer;
}
.seperator-whiteline {
    width: 80%;
    margin: 5px auto;
    display: block;
    height: 1px;
    background-color: var(--border-light);
}
.fieldexplain {
    margin-bottom: 0;
}
#footer.local{
    background-color: rgb(0, 170, 255) !important;
}
#footer.staging{
    background-color: rgb(0, 255, 89) !important;
}
#footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: var(--dark-bg);
    color: var(--white);
    vertical-align: middle;
    padding: 10px;
    padding-left: 6%;
    font-size: 14px;
    z-index: 10;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}
#obvestila-ikona-nosilec{
    display: block;
    position: fixed;
    width: 30px;
    top:20px;
    right:20px;
}
    #obvestila-stevilo {
        padding: 0px 4px;
        background-color: var(--primary-red);
        color: var(--white);
        font-size: 15px;
        font-weight: 600;
        display: block;
        position: absolute;
        bottom: 0;
        left: -5px;
        border-radius: 30px;
    }
/* glava strani */
#burgermenu {
    position: fixed;
    right: 15px;
    top: 15px;
    display:none;
    cursor: pointer;
    z-index: 10;
    border-bottom-left-radius: 6px;
    filter: brightness(0) invert(1);
    background: var(--dark-bg-secondary);
    padding: 8px;
    border-radius: 6px;
}
#leftmenu {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    height: auto;
    min-height: 70px;
    background: var(--dark-bg-secondary);
    z-index: 9;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    padding: 0 20px;
    flex-wrap: wrap;
}
    #leftmenu-logo {
     width: auto;
     max-width: 150px;
     max-height: 50px;
     margin: 10px 30px 10px 0;
     filter: brightness(0) invert(1);
     object-fit: contain;
    }
	#menuiskalnik{
		width: 20px;
		display: block;
		cursor: pointer;
		margin-left: 5px;
		opacity: 0.5;
	}
    .leftmenu-element{
    	display: block;
        margin: 7px 6px;
        padding: 8px;
        font-size: 17px;
        font-weight: 400;
        text-align: left;
        color: var(--white);
        border-radius: 6px;
        transition: all 0.3s ease;
    }
    .leftmenu-element a {
        color: var(--white) !important;
    }
    .leftmenu-element:hover {
        background-color: var(--dark-bg-tertiary);
        color: var(--primary-red);
    }
    .leftmenu-element:hover a {
        color: var(--primary-red) !important;
    }
    .menielement {
        padding: 8px 15px;
        margin: 5px;
        text-align: center;
        color: var(--white);
        border-radius: 6px;
        transition: all 0.3s ease;
        position: relative;
        display: inline-block;
    }
    .menielement:hover {
        background-color: var(--dark-bg-tertiary);
        color: var(--primary-red);
    }
    .menielement-vec {
        padding: 8px 15px;
        margin: 5px;
        text-align: center;
        color: var(--white);
        border-radius: 6px;
        transition: all 0.3s ease;
        position: relative;
        display: inline-block;
        cursor: pointer;
    }
    .menielement-vec:hover {
        background-color: var(--dark-bg-tertiary);
        color: var(--primary-red);
    }
    /* Make all links inside menu white */
    #leftmenu a.alt {
        color: var(--white) !important;
    }
    #leftmenu a.alt:hover {
        color: var(--primary-red) !important;
    }
    #leftmenu a.alt:visited {
        color: var(--white) !important;
    }
    #leftmenu a.alt:active {
        color: var(--primary-red) !important;
    }
    .menielement-skrit{
    	display:none;
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--dark-bg-secondary);
        min-width: 200px;
        padding: 5px 0;
        margin: 0;
        border-radius: 6px;
        box-shadow: var(--shadow-md);
        z-index: 10;
        text-align: left;
        font-size: 15px;
        font-weight: 400;
        color: var(--white);
    }
    .menielement-skrit a.alt {
        display: block;
        padding: 10px 15px;
        color: var(--white) !important;
        text-decoration: none;
        transition: all 0.3s ease;
    }
    .menielement-skrit a.alt:hover {
        background-color: var(--dark-bg-tertiary);
        color: var(--primary-red) !important;
    }
    .menielement:hover .menielement-skrit {
        display: block;
    }
    .triangle{
        display: inline;
    }

#secondmenu {
    text-align: center;
    max-width: 80%;
    margin: auto;
    border: 1px solid var(--border-light);
    border-right: 0;
    border-left: 0;
    padding: 10px;
}

.iskalnikholder {
    display: block;
    line-height: 28px;
    align-items: center;
    position: relative;
    max-width: 230px;
    margin: 15px 10px;
}

.iskalnik {
    width: 100%;
    height: 40px;
    line-height: 28px;
    padding: 0 1rem;
    padding-left: 10px;
    border: 2px solid transparent;
    border-radius: 8px;
    outline: none;
    background-color: var(--dark-bg-tertiary);
    color: var(--white);
    transition: all 0.3s ease;
}

.iskalnik::placeholder {
 color: var(--text-muted);
}

.iskalnik:focus, input:hover {
 outline: none;
 border-color: var(--primary-red);
 background-color: var(--dark-bg-tertiary);
 box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}

.searchicon {
    position: absolute;
    right: 2.5rem;
    top: 0.2rem;
    fill: var(--primary-red);
    width: 1rem;
    height: 2rem;
    cursor: pointer;
}
#iskalnikpro{
    margin:auto;
    display: block;
    width:90%;
    max-width: none;
}
    #rezultatiholder{
        display: none;
    }
    .rezultatiskanja{
        display: block;
        border: 1px solid var(--border-light);
        background-color: var(--dark-bg-tertiary);
        padding: 10px;
        margin: 20px 10px;
        border-radius: 6px;
        color: var(--white);
    }





#main-logo-top {
    margin-top: 10px;
    max-width: 130px;
    text-align: center;
    margin: auto;
    padding-top: 10px;
    display: block;
}
#logobeli{
    width: 70%;
    margin: 20px;
}
#mainscreen {
    max-width: 1400px;
    width: 90%;
    margin: auto;
    margin-top: 90px;
    text-align: center;
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
}

#unlockinglogin {
    max-width: 120px;
    padding: 1px;
    margin: auto;
    display: none;
}
#logoutbutton {
    background-color: var(--primary-red);
    border: 2px solid var(--primary-red);
    color: var(--white);
    cursor: pointer;
    max-width: 200px;
    margin: 40px auto 10px auto;
    padding: 10px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}
#logoutbutton:hover {
    background-color: var(--primary-red-hover);
    border-color: var(--primary-red-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
#stanje{
	font-size:20px;
    line-height: 175%;
}
#mojneto{
    font-size:28px;
}
.pravokotnik{
	max-width:600px;
	display:block;
	margin:auto;
}

#login-logo-top {
    max-width: 200px;
    margin: 50px auto 20px auto;
}
#login-logo-bottom {
    max-width: 140px;
    margin: 50px auto 10px auto;
}


.infocontainer {
    width: 28%;
    max-width: 370px;
    padding: 25px;
    margin: 15px 10px;
    display: inline-block;
    vertical-align: top;
    background: var(--white);
    color: var(--text-dark);
    border-radius: 8px;
    text-align: left;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-dark);
    transition: all 0.3s ease;
}

.infocontainer:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--primary-red);
}

.infocontainer h5 {
    border-bottom: 2px solid var(--primary-red);
    font-size: 1.3em;
    color: var(--text-dark);
    font-weight: 600;
    padding-bottom: 12px;
    margin: 0 0 15px 0;
    letter-spacing: -0.2px;
}

.infocontainer p {
    margin: 8px 0;
    line-height: 1.5;
    font-size: 0.95em;
}




@media screen and (max-width: 1700px) {
    #mainscreen {
        width: 75%;
        margin-left: auto;
        margin-right: auto;
    }
}
@media screen and (max-width: 1460px) {
    .infocontainer {
        width: 30%;
        max-width: 300px;
        padding: 20px;
        margin: 10px 5px;
    }
}
@media screen and (max-width: 1400px) {
    #mainscreen {
        width: 79%;
        margin-left: auto;
        margin-right: auto;
    }
}
@media screen and (max-width: 1250px) {
    #mainscreen {
        width: 75%;
        margin-left: auto;
        margin-right: auto;
    }
}
@media screen and (max-width: 1045px) {
    #mainscreen {
        width: 70%;
        margin-left: auto;
        margin-right: auto;
    }
}
@media screen and (max-width: 1110px) {
    .infocontainer {
        width: 80%;
        max-width: 700px;
        padding: 25px;
        margin: 15px 20px;
    }
}
@media screen and (max-width: 1000px) {
	.tretjina{
		width:90%;
	}
}
@media screen and (max-width: 980px) {
    h4{
        text-align: center;
    }
	h1 {
        text-align: center;
        border-bottom: 3px solid var(--primary-red);
        margin: 20px auto;
        max-width: 90%;
        padding-bottom: 20px;
	}
    #leftmenu-logo {
        max-width: 120px;
        margin: 10px 0;
        filter: brightness(0) invert(1);
    }
    #burgermenu{
        width: 50px;
        display:block;
    }
    #mainscreen {
        margin: 90px auto 0 auto;
        width: 95%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    #leftmenu {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
        max-height: none;
        height: auto;
        max-height: 100vh;
        overflow-y: auto;
        padding-right: 5px;
        display: none;
    }
    #leftmenu.menu-open {
        display: flex !important;
    }
    .menielement,
    .menielement-vec {
        width: 100%;
        text-align: left;
        margin: 2px 0;
    }
    .menielement-skrit {
        position: static;
        display: none;
        width: 100%;
        box-shadow: none;
        background: var(--dark-bg-tertiary);
        margin-top: 5px;
        padding-left: 20px;
    }
 
    #footer {
        padding-left: 0;
		font-size: 12px;
    }
    .infocontainer {
        width: 90%;
        display: block;
        max-width: 900px;
        margin: 15px auto;
        padding: 20px;
    }
    
    /* Prevent horizontal overflow */
    body {
        overflow-x: hidden;
        max-width: 100vw;
    }
    
    /* Ensure all content stays within viewport */
    * {
        box-sizing: border-box;
    }
}

/* CURSOR FOR CLICKABLE */
.popupcta{
    cursor:pointer;
}


/* ------------------------------------------------------------------------- */
/*                          Progress bar                                     */
/* ------------------------------------------------------------------------- */

.progress-container {
    position: relative;
    height: 30px;
    background-color: var(--dark-bg-secondary);
    border-radius: 8px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-red-hover));
    transition: width 2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 300;
    font-size: 0.9em;
}

.progress-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
    pointer-events: none;
}

.no-process-message {
    text-align: center;
    padding: 20px;
    color: var(--text-muted);
}
/* ------------------------------------------------------------------------- */
/*                      Mini progress bar                                    */
/* ------------------------------------------------------------------------- */
.process-loading-bar {
    position: relative;
    width: 100%;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    margin-top: 5px;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-red-hover));
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 4px rgba(220, 38, 38, 0.5);
    position: relative;
}

.progress-percentage-text {
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
    pointer-events: none;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
}

/* ------------------------------------------------------------------------- */
/*                      Majhno obvestilno okno                               */
/* ------------------------------------------------------------------------- */

.notification-window-small {
    width: 150px;
    margin: 5px auto;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    background: var(--dark-bg-secondary);
    border-radius: 8px;
    padding: 12px 16px;
    max-width: 280px;
    border-left: 4px solid var(--primary-red);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    animation: fadeInOut 10s ease-in-out forwards;
}

.notification-window-small:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.notification-window-small a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: block;
}
/* ------------------------------------------------------------------------- */
/*                      Dropdown filter                                      */
/* ------------------------------------------------------------------------- */

.filter-icon {
    cursor: pointer;
    font-size: 12px;
    margin-left: 6px;
    user-select: none;
    color: var(--primary-red);
}


.filter-dropdown {
    position: absolute;
    top: 20px;
    left: 0;
    background: var(--white);
    border: 2px solid var(--border-dark);
    padding: 5px 0;
    box-shadow: var(--shadow-md);
    z-index: 10;
    width: 150px;
    border-radius: 6px;
}

.filter-dropdown .filter-option {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 18px;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.filter-dropdown .filter-option:hover {
    background-color: var(--primary-red);
    color: var(--white);
}

/* ------------------------------------------------------------------------- */
/*                      Explain box                                          */
/* ------------------------------------------------------------------------- */
.status-explained {
    max-width: 800px;
    margin: 60px auto 40px auto;
    font-size: 18px;
    line-height: 1.2;
    text-align: center;
}

.status-heading {
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-dark);
}

.status-block {
    padding: 15px 25px;
    background: var(--white);
    border-left: 4px solid var(--primary-red);
    border-right: 4px solid var(--primary-red);
    margin-bottom: 25px;
    display: inline-block;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    border-radius: 6px;
    box-shadow: var(--shadow-sm);
}

/* ------------------------------------------------------------------------- */
/*                      Menu scroll                                          */
/* ------------------------------------------------------------------------- */
#leftmenu {
    overflow-x: auto;
    overflow-y: visible;
}

#leftmenu::-webkit-scrollbar {
    width: 6px;
}

#leftmenu::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

#leftmenu::-webkit-scrollbar-thumb {
    background-color: var(--primary-red);
    border-radius: 3px;
}

/* OTP Input Styles */
.otp-input-container {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin: 20px 0;
	flex-wrap: wrap;
}

.otp-digit {
	width: 50px;
	height: 50px;
	border: 2px solid var(--border-dark);
	border-radius: 8px;
	text-align: center;
	font-size: 20px;
	font-weight: bold;
	background: var(--white);
	transition: all 0.3s ease;
	color: var(--text-dark);
}

.otp-digit:focus {
	border-color: var(--primary-red);
	box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
	outline: none;
}

.otp-digit:valid {
	border-color: var(--primary-red);
}

.otp-button-container {
	text-align: center;
	margin-top: 20px;
}

/* Remove the primary-button class since we'll use the existing .button class */

/* Mobile responsiveness */
@media (max-width: 480px) {
	.otp-input-container {
		gap: 8px;
	}
	
	.otp-digit {
		width: 45px;
		height: 45px;
		font-size: 18px;
	}
	
	/* The .button class already has good mobile styling */
}
