/* Korekcija scrolla kod svih modala */

*, button, select {
    text-transform: uppercase;
}

.no-uppercase,
.no-uppercase * {
    text-transform: none;
}


.modal-body {
    max-height: calc(100vh - 212px);
    overflow-y: auto;
}

.btn-toggl {
    background-color: #ffffff;
    border: 1px solid gray;
}

.btn-toggl:hover {
    border: none;
    border: 1px solid gray;
}

.btn-toggl:focus {
    box-shadow: none;
}

.btn-toggl.active {
    background-color: #4e73df;
    color: white;
}

.hidden {
    display: none;
}

/* SPINNER - LOADER START*/
/*Spinner 1*/
.spinner-1:before {
    content: "";
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    height: 60px;
    width: 60px;
    margin-top: -30px;
    margin-left: -30px;
    border-radius: 50%;
    border: 5px solid lightgrey;
    border-top-color: #4F7CCB;
    animation: spinner 0.7s linear infinite;
    z-index: 100;
}

/*Spinner 2*/
.spinner-2:before {
    content: "";
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    height: 60px;
    width: 60px;
    margin-top: -30px;
    margin-left: -30px;
    border-radius: 50%;
    border: 5px solid transparent;
    border-top-color: #1cc88a;
    border-bottom-color: #1cc88a;
    animation: spinner 0.7s ease infinite;
    z-index: 100;
}


/*Spinner 3*/
.spinner-3:before {
    content: "";
    box-sizing: border-box;
    position: fixed;
    top: 50%;
    left: 50%;
    height: 60px;
    width: 60px;
    margin-top: -30px;
    margin-left: -30px;
    border-radius: 50%;
    border-top: 4px solid #4F7CCB;
    border-right: 4px solid transparent;
    animation: spinner 0.7s linear infinite;
    z-index: 100000;
}


@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

/* SPINNER END */

.btn-remove-item {
    background-color: white;
    border: 1px solid #ff4b4b !important;
    border: none;
    padding: 0.30rem !important;
    color: #ff4b4b;
    font-weight: 700;
}

.btn-remove-item:hover {
    color: #fff;
    background-color: #ff4b4b;
}

.customer-delete-button {
    float: right;
}

label[for=company_logo] {
    border: 2px dashed blue;
    padding: 5px;
}

#company_logo {
    display: none;
}

label[for=company_signature] {
    border: 2px dashed blue;
    padding: 5px;
}

#company_signature {
    display: none;
}

.container-admin {
    visibility: hidden;
    min-height: 600px;
}

input#wg_account {
    cursor: text;
}

.btn-edit:disabled,
.btn-delete:disabled {
    color: #c7c7c7 !important;
    background-color: #dbdbdb !important;
    opacity: 1;
}

.pending-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: #ffc107;
    /* Bootstrap warning color */
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    line-height: 18px;
    font-size: 12px;
    text-align: center;
    font-weight: bold;
    pointer-events: none;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}

.highlight-changed {
    border: 2px solid #28a745 !important;
    background-color: #e6ffe6;
}

.dataTables_processing {
    background-color: rgba(255, 255, 255, 0.0);
    font-size: 0;
    /* hide default text */
    text-align: center;
    padding: 30px 0;
    border: none;
    position: absolute;
    z-index: 10;
    width: 100%;
}

.sortable {
    /* list-style-type: none; */
    margin: 0;
    padding: 0;
    width: 100%;
}

.sortable-item {
    font-size: 1.3em;
    padding: 6px;
    margin-top: 5px;
    margin-bottom: 5px;
    border: 1px solid gray;
    border-radius: 5px;
    background-color: white;
}



.sortable li span {
    position: absolute;
    margin-left: -1.3em;
}

/* Force Editor.js captions to be editable */
.cdx-input[contenteditable="true"] {
    pointer-events: auto !important;
    user-select: text !important;
    -webkit-user-select: text !important;
}


/* Hide the "stretch" button on image blocks */
.ce-popover__item[data-item-name="stretch"] {
    display: none !important;
}

.my-font .ce-block {
    font-family: 'Arial', serif;
}


.fa-exclamation-circle {
    color: #e84438;
    margin-right: 5px;
    font-size: 11px;
}

.lesson-paragraph {
    font-size: 16px;
}

.video-tool__uploader {
    border: 2px dashed #d0d0d0;
    border-radius: 6px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    background: #fafafa;
    position: relative;
}

.video-tool__uploader:hover {
    background: #f0f0f0;
}

.video-tool__placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-tool__icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.video-tool__text {
    font-size: 14px;
    color: #666;
}

.video-tool__input {
    position: absolute;
    opacity: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.c_error_login {
    color: #d9534f;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.c_error_login i {
    margin-right: 6px;
}

.question {
    border: 1px solid rgb(196, 195, 195);
    padding: 20px;
    border-radius: 5px;
}

.form-check-label {
    font-size: 1.1em;
}

.points-container {
    font-size: 1em;
    background-color: gray;
    color: white;
    width: 25px;
    height: 23px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.course-recommendation {
    border: 1px solid #ddd;
    margin: 0 10px;
    height: 300px;
    border-radius: 10px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s, box-shadow 0.2s;
}

.course-recommendation:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.card-text {
    font-size: 0.95rem;
    color: #555;
    flex-grow: 1;
}