﻿@font-face {
    font-family: SourceSans3-Italic;
    src: url(./fonts/SourceSans3-Italic.ttf);
}

@font-face {
    font-family: SourceSans3-Regular;
    src: url(./fonts/SourceSans3-Regular.ttf);
}

@font-face {
    font-family: SourceSans3-SemiBold;
    src: url(./fonts/SourceSans3-SemiBold.ttf);
}

@font-face {
    font-family: SourceSans3-SemiBoldItalic;
    src: url(./fonts/SourceSans3-SemiBoldItalic.ttf);
}

.validation {
    color: red;
}

.signoutDropdown {
    box-shadow: none;
}

.btn {
    height: 48px;
    font-size: 16px;
}

html {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

li > a{
    padding: 10px 0 !important;
}

body {
    flex-grow: 1;
}

/* mobile */
@media only screen and (max-width:768px) {
    :root {
        --main-padding: 40px;
        --main-content-flex: column
    }
}

/* desktop */
@media only screen and (min-width:768px) {
    :root {
        --main-padding: 120px;
        --main-content-flex: row
    }
}

.main {
    padding-top: 2vh;
    height: 85%;
    margin: 0 var(--main-padding) 11vh var(--main-padding);
}

.mainContent {
    height: fit-content;
    padding: 2rem;
}

#navigation {
    height: fit-content;
    min-width: 218px;
}

    #navigation hr {
        border-color: #DFE3F1;
        border-width: 2px;
    }

    #navigation ul {
        padding: 0;
    }

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mainHeader {
    border-width: 0 0 2px 0;
    border-color: #DFE3F1;
    border-style: solid;
}

    .mainHeader .logo {
        gap: 5px;
        display: flex;
    }

        .mainHeader .logo span {
            padding-top: 6px;
        }

        .mainHeader .logo img {
            display: flex;
            width: 100px;
            height: 30px;
        }

header img {
    display: flex;
    width: 142.5px;
    height: 38px;
    justify-content: center;
    align-items: center;
}

p {
    margin: 0;
    padding: 0;
}

.buttonContainer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}



#form1 {
    border-radius: 50px 0 50px 0;
}

footer {
    position: fixed;
    text-align: center;
    left: 0;
    right: 0;
    bottom: 0;
    height: 10%;
}

.footerContent {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.signoutDropdown {
    padding-left: 16px;
    padding-right: 16px;
}

.signoutDropdownContent {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

#btnLogOff {
    width: 100%;
}

.loginCard {
    padding: 32px;
    margin-bottom: 40px;
}


.checkboxRemember {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}


.link {
    color: #0062E0;
    font-weight: 400;
}

.formContainer {
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
}

.fp {
    max-width: 600px;
}

.menuCard {
    border-radius: 8px !important;
    color: #202849 !important;
    text-align: center !important;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.2s ease;
}

    .menuCard:hover {
        color: white !important;
        background-color: #334075 !important;
    }

.navigation {
    background-color: white;
    border-radius: 8px;
    padding: 12px;
    height: fit-content;
}

.navigation li > a {
    text-decoration: none;
    color: #202849 !important;
    font-family: SourceSans3-SemiBold;
    display: block;
    padding: 12px 0 !important;
}

.navigation li.active {
    background-color: #202849 !important;
    border-radius: 8px !important;
}

.navigation li.active > a {
    color: white !important;
    font-family: SourceSans3-SemiBold;
    text-align: center !important;
    font-weight: 600;
    font-size: 18px;
}


.navigation li > a:hover {
    color: white !important;
    background-color: #334075 !important;
    text-decoration: none !important;
    border-radius: 8px;
    font-family: SourceSans3-SemiBold;
}

.navigation li:hover {
    color: white !important;
    background-color: #334075 !important;
    text-decoration: none !important;
    border-radius: 8px;
    font-family: SourceSans3-SemiBold;
}

label {
    font-size: 18px;
    line-height: 120%;
    font-weight: normal !important;
}

.obrazovanjeContainer {
    background-color: white;
    border-radius: 8px;
    width: 100%;
}

.table {
    margin-bottom: 0px !important;
}

.tablicaContainer {
    border: 2px solid #DBE3F5 !important;
    border-radius: 8px !important;
}


.urediTable {
    color: #0062E0 !important;
    text-decoration: none !important;
    font-family: SourceSans3-Regular;
    font-weight: 600;
}

.obrisiTable {
    color: #B4382D !important;
    text-decoration: none !important;
    font-weight: 600;
    font-family: SourceSans3-Regular;
}

a {
    text-decoration: none !important;
}

.znanjeContainer {
    background-color: white;
    border-radius: 8px;
}

.redak {
    display: flex;
    flex-direction: column;
}

#navigation {
    height: fit-content;
    padding: 8px;
}


.containerForNavAndContent {
    display: flex;
    flex-direction: column;
}

    .containerForNavAndContent .navContent {
        display: flex;
        flex-direction: var(--main-content-flex);
        gap: 20px;
    }


.navigation li.active:hover {
    background-color: #202849 !important;
    border-radius: 8px !important;
}

.navigation li.active > a:hover {
    color: white !important;
    background-color: #202849 !important;
}



select {
    appearance: none;
    /* safari */
    -webkit-appearance: none;
    /* other styles for aesthetics */
    width: 100%;
    font-size: 1.15rem;
    padding: 0.675em 6em 0.675em 1em;
    background-color: #fff;
    border: 1px solid #caced1;
    border-radius: 0.25rem;
    color: #000;
    cursor: pointer;
}

.custom-select {
    position: relative;
}

    .custom-select::before,
    .custom-select::after {
        position: absolute;
        content: url("../img/select_arrow.svg");
        right: 1rem;
        justify-content: center;
        pointer-events: none;
        top: 30%;
    }

#formUnos {
    border-radius: 8px;
    margin: 0px !important;
}

.submitButtonsContainer {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#formUsaUnos {
    border-radius: 8px;
    margin: 0px !important;
}

.bold {
    font-weight: bold;
}

.btn-file {
    display: flex;
    position: relative;
    overflow: hidden;
}

.fileBtnText {
    display: flex;
    align-self: center;
}

input[type=checkbox] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #FFF;
    margin: 0;
    font: inherit;
    color: black;
    border: 0.15em solid black;
    border-radius: 0.15em;
    transform: translateY(-0.075em);
    display: grid;
    place-content: center;
}

    input[type=checkbox]::before {
        content: "";
        width: 0.9em;
        height: 0.9em;
        transform: scale(0);
        transform-origin: bottom left;
        transition: 120ms transform ease-in-out;
        box-shadow: inset 0.9em 0.9em #FAA329;
        background-color: black;
    }

    input[type=checkbox]:checked::before {
        transform: scale(1);
    }

    input[type=checkbox]:focus {
        outline: max(2px, 0.15em) solid #FAA329;
        outline-offset: max(2px, 0.15em);
    }

    input[type=checkbox]:disabled {
        --form-control-color: var(--form-control-disabled);
        color: #959495;
        cursor: not-allowed;
    }

input[type=file] #text {
    color: red;
}

.btn-file input[type=file] {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    cursor: inherit;
    padding-top: 8px;
}


/* Table styling to match original design */
.tableContainer {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 24px;
}

.tableHeader {
    background-color: #2A3460 !important;
    color: white !important;
    padding: 16px 24px !important;
    border-radius: 8px 8px 0 0;
}

    .tableHeader h4 {
        margin: 0;
        font-family: SourceSans3-SemiBold;
        font-size: 20px;
    }

thead > tr {
    background-color: white !important;
    color: #202849 !important;
    font-family: SourceSans3-SemiBold;
    padding: 16px !important;
}

thead > tr > th {
    background-color: white !important;
    color: #202849 !important;
    padding: 16px !important;
    font-family: SourceSans3-SemiBold;
    border: none !important;
    text-align: left;
}

tbody > tr {
    background-color: #DFE3F1 !important;
    color: #202849 !important;
}

tbody > tr:nth-child(even) {
    background-color: #DFE3F1 !important;
}

tbody > th {
    padding: 16px !important;
}

tbody > tr > td {
    font-family: SourceSans3-Regular;
    padding: 16px !important;
    line-height: 120%;
    border: none !important;
}

/* Center align action buttons in tables */
.table tbody td.text-center {
    text-align: center !important;
    vertical-align: middle !important;
}

.table thead th.text-center {
    text-align: center !important;
}

.table {
    margin-bottom: 0 !important;
    border-collapse: separate;
    border-spacing: 0;
}

input[type="radio"] {
    appearance: none;
    background-color: #fff;
    margin: 0;
    font: inherit;
    color: black;
    width: 1.15em;
    height: 1.15em;
    border: 0.15em solid black;
    border-radius: 50%;
    transform: translateY(-0.075em);
    display: grid;
    place-content: center;
}

    input[type="radio"]::before {
        content: "";
        width: 0.7em;
        height: 0.7em;
        border-radius: 1em;
        transform: scale(0);
        transition: 120ms transform ease-in-out;
        box-shadow: inset 1em 1em #FAA329;
    }

    input[type="radio"]:checked::before {
        transform: scale(1);
    }

.submitButtons {
    display: flex;
    gap: 16px;
}

.chk {
    height: 40px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.chkLabel {
    height: 40px;
    display: flex;
    align-items: center;
}

.form-group label{
    margin-bottom: 0;
}

.form-group {
    align-items: center;
}

input::placeholder {
    color: #202849;
    opacity: 0.5;
}

/* Alert/Notification boxes styling */
.alert {
    margin-top: 16px;
    margin-bottom: 16px;
    padding: 20px 24px !important;
    border-radius: 8px !important;
    border: 2px solid;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.alert-info {
    background-color: #FFFFFF !important;
    color: #202849 !important;
    border-color: #0062E0 !important;
}

.alert-danger {
    background-color: #F6DDDA !important;
    color: #B4382D !important;
    border-color: #B4382D !important;
}

.alert-success {
    background-color: #DEF2E4 !important;
    color: #2E7A44 !important;
    border-color: #2E7A44 !important;
}

.alert-warning {
    background-color: #FEF5D2 !important;
    color: #816803 !important;
    border-color: #816803 !important;
}

.alert > div {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .alert > div button {
        max-width: 120px;
        align-self: flex-end;
    }

.alertTitle {
    display: flex;
    align-items: center;
    font-family: SourceSans3-SemiBold;
    font-size: 18px;
    margin-bottom: 8px;
}

    .alertTitle img {
        width: 24px;
        height: 24px;
        margin-right: 12px;
    }

/* Education form container with border */
.educationFormContainer {
    border: 2px solid #DBE3F5;
    border-radius: 8px;
    overflow: hidden;
    background-color: white;
}

.educationFormInner {
    padding: 24px;
    background-color: white;
    border-top: 2px solid #DBE3F5;
}
