html,
body {
    background-color: #181e24;
    color: #a4a6a7;
    overflow-x: hidden;
    height: 100%;
    width: 100%;
    font-family: Poppins;
}
h2 {
    color: #333333;
}

#elipsa4 {
    position: absolute;
    width: 18vw;
    height: 18vw;
    left: 92vw;
    top: 50vh;
    border-radius: 50%;
    background: #8ba725;
}

#elipsa1 {
    position: absolute;
    width: 22vw;
    height: 22vw;
    left: -10vw;
    top: -9.6vw;
    border-radius: 50%;
    background: #8ba725;
}

#elipsa2 {
    position: absolute;
    width: 22vw;
    height: 22vw;
    left: 15vw;
    top: 115vh;
    border-radius: 50%;
    background: #8ba725;
}

#elipsa5 {
    position: absolute;
    width: 18vw;
    height: 18vw;
    left: 0vw;
    top: 200vh;
    border-radius: 50%;
    background: #8ba725;
}

#elipsa3 {
    position: absolute;
    width: 15vw;
    height: 15vw;
    left: 95vw;
    top: 190vh;
    border-radius: 50%;
    background: #8ba725;
}

.formContainer {
    display: flex;
    /* width: 1144px; */
    padding: 120px 0px;
    flex-direction: column;
    align-items: center;
    gap: 80px;
    position: relative;
     /* margin: 0px auto; */
}

.edukosLogo {
    width: 320px;
    height: 80px;
}

.formContainerContent {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    align-self: stretch;
}

.naslov {

    align-self: stretch;

    color: #fff;
    font-family: Poppins;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;

    color: #8BA725;
    text-align: center;
    font-family: Poppins;
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;

      .podnaslov {
        color: #FFFFFF;
        font-size: 24px;
        font-weight: 400;
      } 
    }

.suglasnost {
  align-self: stretch;
  color: #D1D2D3;
  text-align: center;
  font-family: Poppins;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}


.formBox {
  display: flex;
  padding: 80px 8vw;
  flex-direction: column;
  /* align-items: flex-start; */
  gap: 24px;
  align-self: stretch;
  background: #F2F2F2;
}

.labelText {
  color: #181E24;
font-family: Poppins;
font-size: 16px;
font-style: normal;
font-weight: 500;
line-height: normal;
}

.formGap {
  margin-top: 24px;
}

.tipoviInstrukcijaRadioContainer {
  display: flex;
padding: 0px 3vw;
flex-direction: column;
align-items: flex-start;
align-self: stretch;

accent-color: #8BA725;

color: #717171;
font-family: Poppins;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: normal;
}


/* Radio button styling */
.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.radio-input {
    accent-color: #8BA725;
    margin-right:18px;
}

.radio-text {
    color: #717171; /* Default color */
    transition: color 0.2s ease;
}

.radio-label.selected .radio-text {
    color: #181E24;
font-family: Poppins;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: normal;
}

/* Toggle buttons styling */
.toggle-buttons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    margin-left: 8px;
}

.toggle-button {
    min-width: 60px;
    padding: 8px 24px;
    border-radius: 25px;
    border: 1px solid transparent;
    font-family: Poppins;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.toggle-button:focus {
    outline: none;
}

/* Inactive button (NE) */
.toggle-button:not(.active) {
    background-color: #fff;
    color: #717171;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Active button (DA) */
.toggle-button.active {
    background-color: #8BA725;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.toggle-button:not(.active):hover {
    border: 1px solid #8BA725;
}

.toggle-button.active:hover {
    border: 1px solid #8BA725;
}

.errorField {
        display: flex;
        align-items: center;
        gap: 12px;
        align-self: stretch;
        margin-left: 10px;

        #oib-error {
            color: #dc3545;
            font-family: Poppins;
            font-size: 16px;
            font-style: normal;
            font-weight: 500;
            line-height: normal;
        }
    }

.inputBoxPadding {
    padding-left: 56px;
}

/* Modal styling */
#vratiNovacModal .modal-content {
  background-color: #F2F2F2;
  border: none;
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#vratiNovacModal .modal-header {
  border-bottom: none;
  padding: 2rem 2rem 1rem;
}

#vratiNovacModal .modal-title {
  color: #8BA725;
  font-family: Poppins, sans-serif;
  font-size: 32px;
  font-weight: 600;
}

#vratiNovacModal .modal-body {
  padding: 1rem 2rem 0px;
  color: #181E24;
  font-family: Poppins, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

#vratiNovacModal .modal-body h5 {
  color: #181E24;
  font-family: Poppins, sans-serif;
  font-weight: 500;
  margin-bottom: 1rem;
}

#vratiNovacModal .modal-body ol {
  padding-left: 1.5rem;
}

#vratiNovacModal .modal-body li {
  margin-bottom: 0.5rem;
}

#vratiNovacModal .modal-footer {
  border-top: none;
  padding: 0px 2rem 2rem;
}

#vratiNovacModal #prihvatiBtn {
    border-color: #8BA725;
}

#vratiNovacModal #prihvatiBtn:hover {
  background-color: #7A9320;
  border-color: #7A9320;
}

 .prijavaBtn {
    display: flex;
    padding: 16px 32px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 30px;
    background: #8BA725;
    color: #F2F2F2;
  }

  .prijavaBtn:hover {
    color: #F2F2F2;
  }

.datepicker-container {
    display: flex;
    align-items: center;
    gap: 16px;
}

.datepicker-input {
    border: none !important;
    border-bottom: 1px solid #cecece !important;
    border-radius: 0 !important;
    background: inherit;
    /* width: 45% !important;
    height: 40px; */

    display: flex;
    padding: 16px 8px;
    align-items: center;
    gap: 16px;
    width: -webkit-fill-available;
    max-width: 170px;
}

.datepicker-wrapper {
    display: flex;

    align-items: center;
    gap: 16px;
    /* margin-left: 20px; */
}

.datepicker-calendar {
    position: relative;
    /* position: absolute; */
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.calendar-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    pointer-events: none;
}










.form-box {
    /* max-width: 55vw;
    margin: auto;
    background: #F2F2F2;
    overflow: hidden;
    color:#333333; */
}

.form {
    /* position: relative;
    display: flex;
    flex-direction: column;
    padding: 32px 24px 24px;
    gap: 16px;
    margin-left: 5vw;
    margin-right: 5vw; */
}

.radioButton {
    /* margin-left: 7vh; */
}

.mt-3 {
    /* margin-top: 0.7rem; */
}

.mt-6 {
    /* margin-top: 3rem; */
}

.form-control {
    border: none !important;
    border-bottom: 1px solid #CECECE !important;
    border-radius: 0 !important;
    background: #F2F2F2 !important;
    /* padding: 16px 8px; */
    align-items: center;
    gap:16px;
    align-self: stretch;


}

#posalji {
display: flex;
padding: 16px 32px;
justify-content: center;
align-items: center;
gap: 10px;
border-radius: 30px;
background: #8BA725;
color: #F2F2F2;
}

.select2-selection__rendered {
    /* border: none !important;
    border-bottom: 1px solid #CECECE !important;
    border-radius: 0 !important;
    background: #F2F2F2   !important;  */
}

.select2-container--default .select2-selection--single {
    /* border: none; */
}

.select2-container--default .select2-selection--multiple {
    /* background-color: #F2F2F2;
    border: none; */
}

.select2-container--default.select2-container--focus
    .select2-selection--multiple {
    /* border:none; */
}

.select2-results__option--highlighted {
    /* background-color: #efefef !important;
    color: #A4A6A7; */
}
.select2-results__option--highlighted {
    /* color: #A4A6A7 !important; */
}
.select2-container--open {
    /* background-color: #F2F2F2; */
}
.select2-results__options {
    /* background-color: #F2F2F2; */
    /* border: none; */
    /* color: #333333; */
}
.modal-content {
    background-color: #F2F2F2;
    color:#333333 ;
}

.gumb {
    /* background-color: #8BA725; 
    border-color: #8BA725;  */
}

.gumb:hover {
    /* background-color: #8BA725; 
    border-color: #8BA725; */
}

@media (max-width: 767px) {
    .inputBoxPadding {
        padding-left: 24px;
    }

    .suglasnost, .naslov {
        /* TODO popraviti za mobitele <500px */
        margin: 0px 30px;
    }
    /* Stilovi za mobilne uređaje */
    .form-box-login {
        /* max-width: 85vw; */
    }
    #prijaviSe {
        /* width: 25vw;
      height: 6vh;
      padding: auto; */
    }
    .form-box {
        /* max-width: 85vw; */
    }
    .suglasnost {
        /* margin: 25px;
      color: white;
      font-size: 14px; 
      line-height: 1.5; */
    }
    .radioButton {
        /* margin-left: 1vw; */
    }
    .text-danger {
        /* color: red; */
    }
}

@media (max-width: 576px) {
    .suglasnost, .naslov {
        /* TODO popraviti za mobitele <500px */
        margin: 0px 30px;
    }
}




/* Select2 validation styling */
.is-invalid-select2 .select2-selection {
    border-color: #dc3545 !important;
}

/* Loading spinner animation */
@keyframes spinner {
    to {transform: rotate(360deg);}
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spinner 1s linear infinite;
    margin-left: 10px;
}

/* Alert styling enhancements */
.alert {
    margin-bottom: 20px;
    border-radius: 5px;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.invalid-feedback {
    display: block !important;
    margin-top: 0.5rem;
    padding-left: 0.5rem;
    color: #dc3545;
}