
:root {
    display: flex;
    align-items: center;
    justify-content: center;

    --global_secondary_color: #6EC1E4;
    --global_primary_color: #0C4076;

    font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;
}

body {
    max-width: 1600px;
    display: flex;
    flex-direction: column;
}

h3 {
    margin: 8px;
    margin-top: 12px;
    margin-bottom: 6px;
}

input {
    width: 40%;
    text-align: center;
    font-size: 18px;
    border: 0px;
    border-bottom: 2px solid var(--global_secondary_color);
    padding-top: 6px;
    padding-bottom: 6px;
    transition: border-bottom-color 0.15s ease;
}

input:focus {
    outline: none;
    border-bottom-color: var(--global_primary_color);
}

input::placeholder {
    color: #00000060;
}

select {
    text-align: center;
    font-size: 16px;
    border: 1px solid #000000;
    padding-top: 6px;
    padding-bottom: 6px;
    border-radius: 12px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    transition: border-color 0.3s ease, border-radius 0.3s ease;
}

select:focus {
    outline: none;
    border-color: #00000070;
    border-bottom: 2px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

button {
    background-color: #009adb;
    color: white;
    padding: 12px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 12px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    transition: border-color 0.3s ease, border-radius 0.3s ease;
}

button:hover,
button:focus {
    background-color: #0083bb;
}

.inputGroup {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 6px;
}

.formGroup {
    margin-top: 18px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 18px;
}

.verticalList {
    width: 480px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 8px;
}

.imgContainer {
    display: flex;
    justify-content: center;
    align-items: center;
}

.imgSplash {
    object-fit: contain;
    height: 100px;
    width: auto;
}

.seperator {
    border-style: solid;
    width: 90%;
    margin-top: 28px;
    margin-bottom: 12px;
    border-color: var(--global_secondary_color);
}

.textCenter {
    text-align: center;
}

.errorWindow {
    padding: 8px 24px;
    border: 2px solid rgba(255, 0, 0, 0.4);
    border-radius: 4px;
    background-color: rgba(255, 0, 0, 0.15);
}

.warnWindow {
    padding: 8px 24px;
    border: 2px solid rgba(255, 190, 0, 0.4);
    border-radius: 4px;
    background-color: rgba(255, 190, 0, 0.15);
}

.hide {
    display: none;
}

/* Responzivnost za mobilne uređaje */
@media (max-width: 768px) {
    body {
        padding: 10px;
        max-width: 100%;
        overflow-x: hidden;
    }

    .verticalList {
        width: 100%;
        padding: 10px;
    }

    .formGroup,
    .inputGroup {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    input,
    select,
    button {
        width: 100% !important;
        font-size: 16px;
    }

    h1, h3 {
        font-size: 1.3em;
        text-align: center;
    }

    .imgSplash {
        height: auto;
        max-width: 100%;
    }

    .seperator {
        width: 100%;
    }

    .errorWindow, .warnWindow {
        width: 100%;
        box-sizing: border-box;
    }
}
