:root {
    --accent-color: #f7f0e6;
    --green-color: #a7de9b;
    --dark-color: #333;
}

.nn_container {
    max-width: 1140px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    font-family: 'Manrope', sans-serif;
}

h1 {
    font-size: clamp(1.6rem, 5vw, 2rem);
    line-height: 1.2;
    font-weight: 700;
    max-width: 700px;
}

.my-1 {
    margin: 1em 0;
}

.my-2 {
    margin: 2em auto;
}

.my-3 {
    margin: 3em 0;
}

.my-4 {
    margin: 4em 0;
}

.py-1 {
    padding: 1em 0;
}

.py-2 {
    padding: 2em 0;
}

.py-3 {
    padding: 3em 0;
}

.py-4 {
    padding: 4em 0;
}

.mb-1 {
    margin-bottom: 1em;
}

.mb-2 {
    margin-bottom: 2em;
}

.mb-3 {
    margin-bottom: 3em;
}

.mt-1 {
    margin-top: 1em;
}

.mt-2 {
    margin-top: 2em;
}

.mt-3 {
    margin-top: 3em;
}

.pb-1 {
    padding-bottom: 1em;
}

.pb-2 {
    padding-bottom: 2em;
}

.pb-3 {
    padding-bottom: 3em;
}

.pb-4 {
    padding-bottom: 4em;
}

.nn_textarea {
    min-height: 150px;
    resize: vertical;
    margin-bottom: 15px;
}

p {
    margin-block-end: 0.5rem;
}

.p-lead {
    font-weight: 800 !important;
    line-height: 1.3;
}

.nn_container label {
    line-height: 1.3;
    font-weight: 500;
}

.nn_container a {
    color: #335343;
    /* border-bottom: 1px solid var(--green-color); */
    font-weight: 800;
}

.nn_link-color a {
    color: #335343;
    font-weight: 600;
    border-bottom: 1px dotted #335343;
}

.m_width-800 {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.width-600 {
    width: 75%;
}

.m_width-600 {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

.nn_section {
    background: var(--accent-color);
}

.nn_eligibility label {
    line-height: 1.4;
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.nn_four_column {
    display: grid;
    /* grid-template-columns: repeat(4, 1fr); */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;

}

.nn_four_column>div {
    background: var(--accent-color);
    padding: 30px 15px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
}

.nn_four_column>div h3 {
    text-align: center;
    font-size: 1.5rem;
}

.nn_circle {
    max-width: 500px;
    margin: 0 auto;
    padding-bottom: 10px;
}

.nn_circle p {
    position: relative;
    margin-left: 20px;
}

.nn_circle p::after {
    content: '';
    position: absolute;
    top: 8px;
    left: -20px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--green-color);
}

.nn_two_column {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 90px;
}

.nn_danger-bg {
    background-color: rgba(244, 67, 55, 0.15);
    border: 1px solid rgba(244, 67, 55, 0.3);
    padding: 20px;
    border-radius: 10px;
}

.nn_radio-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

@media (max-width: 992px) {
    .width-600 {
        width: 100%;
    }

    .nn_two_column {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .py-3 {
        padding: 2em 0;
    }

    .nn_radio-wrapper {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 660px) {
    .nn_two_column {
        gap: 0px;
    }
}

/* Pred stepove */

/* sakrij sve stepove dok nisu aktivni */
.nn_form-step {
    display: none;
}

.nn_form-step.nn_active-bg {
    display: block;
    background: var(--accent-color);
    padding: 10px 20px 20px 20px;
    border-radius: 20px;
}

.nn_progressbar {
    display: none;
    margin-bottom: 30px;
}

.nn_progressbar.nn_active {
    display: block;
}


.nn_form-step,
#nn_form-container {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.4s ease, max-height 0.4s ease;
}

/* Aktivno stanje */
.nn_form-step.nn_active,
#nn_form-container.nn_active {
    opacity: 1;
    max-height: 100%;
    /* dovoljno veliko da obuhvati sadržaj */
}

#nn_form-container {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.4s ease, max-height 0.4s ease;
}

/* #nn_form-container.nn_active {
    opacity: 1;
    max-height: 2000px;
} */

/* STEPOVI */
/* Sakrivanje stepova */
.nn_form-step {
    display: none;
}

.nn_form-step.nn_active {
    display: block;
}

/* Dugmad */
.nn_buttons {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.nn_btn {
    padding: 10px 20px;
    background: var(--green-color);
    color: var(--dark-color);
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.nn_btn:hover {
    background: var(--dark-color);
    color: var(--accent-color);
}

.nn_btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Progress bar */
.nn_progressbar {
    position: relative;
    margin: 20px 0 40px;
    width: 100%;
}

.nn_progress-line {
    position: absolute;
    top: 50%;
    left: 0;
    height: 4px;
    width: 100%;
    background: var(--green-color);
    transform: translateY(-50%);
    z-index: 1;
}

.nn_progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.nn_progress-step {
    width: 40px;
    height: 40px;
    background: #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #555;
    transition: background 0.3s, color 0.3s;
}

.nn_progress-step.active {
    background: #0f103a;
    color: #fff;
}

.nn_radio-group {
    margin: 15px 0 0 0;
}

.nn_radio-group p {
    margin-bottom: 8px;
    font-weight: bold;
}

.nn_radio-group label {
    display: block;
    margin-bottom: 6px;
    cursor: pointer;
}

.nn_radio-group input[type="radio"] {
    margin-right: 8px;
}

.nn_radio_wrapper-flex {
    display: flex;
    flex-direction: column;
}

.nn_radio_wrapper-flex label,
.nn_cities label {
    margin-bottom: 0 !important;
}

.nn_session_type,
.nn_age_group {
    display: flex;
    flex-direction: column;
}

.nn_session_type label,
.nn_age_group label {
    margin-bottom: 0 !important;
}

.nn_invalid-group {
    outline: 2px solid red;
    padding: 5px;
    border-radius: 4px;
}

.nn_form-step label {
    margin-bottom: 8px;
    font-weight: 600;
}

.nn_form-step .nn_input-wrapper {
    margin-bottom: 20px;
}

.nn_hint {
    font-size: 14px;
}

.nn_input-wrapper input,
#nn_exemption-wrapper textarea,
.nn_input-wrapper textarea {
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.5);
}

.nn_input-wrapper input {
    margin-bottom: 10px;
}

#nn_exemption-wrapper textarea {
    margin-top: 15px;
}

.nn_input-wrapper input:focus,
.nn_input-wrapper select:focus,
.nn_input-wrapper textarea:focus,
#nn_exemption-wrapper textarea:focus {
    outline: none;
    border-color: var(--green-color);
    box-shadow: 0 0 0 1px rgba(0, 128, 0, 0.15);
    transition: all 0.2s ease-in-out;
}

.nn_checkbox-group label {
    margin-right: 10px;
}

.nn_invalid {
    border-color: red !important;
    box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.15);
}

.nn_invalid:focus {
    outline: none;
    border-color: red !important;
    box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.25);
}

/* photo preview */
.nn_photo-preview {
    margin-top: 15px;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fafafa;
    text-align: center;
}

.nn_photo-preview img {
    max-width: 200px;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
}

/* Wrapper */
.nn_file-upload {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Sakriven pravi input */
.nn_file-upload input[type="file"] {
    display: none;
}

/* Dugme (label) */
.nn_file-label {
    background-color: var(--green-color, #4CAF50);
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nn_file-label:hover {
    background-color: #3f9e46;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

/* Naziv fajla */
.nn_file-name {
    font-size: 14px;
    color: #555;
    font-style: italic;
}

.nn_photo-preview img {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nn_photo-preview img:hover {
    transform: scale(1.03);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
}

/* Custom upload stil */
.nn_file-upload {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.nn_file-upload input[type="file"] {
    display: none;
    /* skrivamo default file input */
}

.nn_file-label {
    background: var(--green-color);
    color: #333;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nn_file-label:hover {
    background: #4b8f60;
}

.nn_file-name {
    font-size: 14px;
    color: #444;
    font-style: italic;
}

.nn_img-upload-wrapper {
    display: flex;
    flex-direction: column;
}

/* Preview slike */
.nn_photo-preview {
    position: relative;
    display: inline-block;
    margin-top: 15px;
}

.nn_photo-preview img {
    width: 180px;
    height: auto;
    border-radius: 8px;
    border: 2px solid var(--green-color, #6aa27b);
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
}

.nn_remove-photo {
    position: absolute;
    top: -10px;
    right: -10px;
    /* border: none; */
    background-color: rgba(244, 67, 55, 0.7) !important;
    border: 1px solid rgba(244, 67, 55, 0.3);
    color: #fff;

    border-radius: 10px;
    /* width: 28px;
    height: 28px; */
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    display: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.nn_remove-photo:hover {
    background: #d32f2f;
    transform: scale(1.1);
}

/* Pregled pre slanja */
.nn_review-section {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border-left: 2px solid var(--green-color);
}

.nn_review-item {
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #dee2e6;
}

.nn_review-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.nn_btn-submit {
    background: #28a745;
    color: white;
}

.nn_btn-submit:hover {
    background: #218838;
}

/* Prijava klijenata */
.nn_prijava_klijenta_wrapper {
    background: var(--green-color);
    padding: 20px;
    border-radius: 10px;
}

/* Prijava klijenata */

.empty-space {
    margin-bottom: 30px;
}

.years-wrapper {
    display: flex;
    flex-direction: column;
}

.years-wrapper input {
    width: 100%;
    max-width: 160px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    line-height: 1.4;
}

.izjave_klijenta-wrapper {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.izjave_klijenta-wrapper label {
    display: flex;
    align-items: self-start;
    gap: 6px;
}

.izjave_klijenta-wrapper input {
    margin-top: 5px;
}

#nn_form-container.nn_active {
    opacity: 1;
    max-height: 100%;
    /* dovoljno veliko da obuhvati sadržaj */
}

.no_bg {
    background: transparent;
    background: var(--accent-color);
}

.better_line_for_input label {
    display: flex;
    gap: 7px;
    align-items: start;
    line-height: 1.3;
}

.better_line_for_input label input {
    margin-top: 6px;
}

.nn_prijava_klijenta_wrapper input[type="radio"] {
    margin-right: 4px;
}

.nn_prijava_klijenta_wrapper,
.nn_prijava_klijenta_wrapper label,
.nn_prijava_klijenta_wrapper h3 {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
}

.nn_prijava_klijenta_wrapper .nn_form-step .nn_input-wrapper {
    margin-bottom: 10px;
}

.nn_prijava_klijenta_wrapper .nn_progressbar {
    display: block !important;
}

.nn_age-warning {
    margin-top: 5px;
    display: none;
    color: red;
}

.p-small {
    font-size: 14px;
}

.nn_prijava_klijenta_wrapper .nn_progressbar {
    margin-bottom: 10px;
}


/* spiner */
.nn_loader {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    font-size: 18px;
}

.nn_spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #335343;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1.2s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Prijava terapeuta ishod */
.bs-status-wrap {
    padding: 80px 0;
    margin: 0 auto;
    width: 100%;
    max-width: 500px;
}

.bs-status-success .nn_btn {
    display: inline-block;
    margin-top: 30px;
    text-decoration: none;
    transition: 0.3s ease-in-out;
}

.bs-status-error .nn_btn {
    display: inline-block;
    margin-top: 30px;
    text-decoration: none;
    transition: 0.3s ease-in-out;
}

@media (max-width: 500px) {
    .bs-status-wrap {
        padding: 30px 0;
    }
}