/* AI ekstrakcija u pregledu dokumenta i formiranje predmeta iz dokumenta */

#fs-doc.ai-zakljucano { position: relative; }

.ai-robot-sloj {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 20;
    background: rgba(255, 255, 255, .82);
    display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
    padding-top: 60px; cursor: wait; overflow: hidden;
}
.ai-robot-sloj .ai-robot {
    font-size: 46px; color: #0971fe;
    animation: ai-robot-skok 1.2s ease-in-out infinite;
}
.ai-robot-sloj .ai-robot-tekst { margin-top: 14px; font-size: 14px; color: #3f4254; }
.ai-robot-sloj .ai-robot-tekst small { display: block; color: #7e8299; margin-top: 4px; text-align: center; }
.ai-robot-sloj .ai-skener {
    position: absolute; left: 8%; right: 8%; height: 2px; top: 0;
    background: linear-gradient(90deg, transparent, #6993ff, transparent);
    animation: ai-skener 2.4s linear infinite;
}
.ai-tackice span { animation: ai-tackica 1.4s infinite; opacity: 0; }
.ai-tackice span:nth-child(2) { animation-delay: .2s; }
.ai-tackice span:nth-child(3) { animation-delay: .4s; }

.ai-upis-traka {
    margin: 0 0 10px; padding: 6px 10px; border-left: 3px solid #6993ff;
    background: #f3f6ff; color: #3f4254; font-size: 13px;
}
.ai-upis-traka .fa-robot { color: #0971fe; margin-right: 6px; animation: ai-robot-skok 1s ease-in-out infinite; display: inline-block; }

.form-group.ai-upis-polje .form-control,
.form-group.ai-upis-polje .ui-select-toggle,
.form-group.ai-upis-polje .ui-select-match {
    border-color: #6993ff; box-shadow: 0 0 0 3px rgba(105, 147, 255, .25);
    transition: box-shadow .2s, border-color .2s;
}

/* sažetak */
.predmet-sazetak .sazetak-red { display: flex; align-items: center; padding: 7px 0; border-bottom: 1px solid #ebedf3; }
.predmet-sazetak .sazetak-red:last-child { border-bottom: 0; }
.predmet-sazetak .sazetak-labela { width: 34%; color: #3f4254; }
.predmet-sazetak .sazetak-vrijednost { width: 66%; }
.predmet-sazetak .sazetak-vrijednost .ui-select-container { width: 100%; }
.predmet-sazetak .sazetak-grupa { background: #f7f8fa; border: 1px solid #ebedf3; padding: 6px 15px; margin-bottom: 12px; }
.predmet-sazetak .sazetak-naslov { font-weight: 600; margin: 4px 0 6px; }

.predmet-formiranje { padding: 25px 10px 10px; text-align: center; }
.predmet-formiranje .fa-robot { font-size: 40px; color: #0971fe; animation: ai-robot-skok 1.2s ease-in-out infinite; }
.predmet-formiranje ul { list-style: none; padding: 0; margin: 22px auto 0; max-width: 340px; text-align: left; }
.predmet-formiranje li { padding: 7px 0; color: #b5b5c3; transition: color .3s; }
.predmet-formiranje li i { width: 22px; }
.predmet-formiranje li.u-toku { color: #3f4254; }
.predmet-formiranje li.gotovo { color: #1bc5bd; }
.predmet-formiranje .napredak { height: 4px; background: #ebedf3; margin: 18px auto 0; max-width: 340px; overflow: hidden; }
.predmet-formiranje .napredak div { height: 100%; background: #6993ff; transition: width .5s; }

@keyframes ai-robot-skok { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes ai-skener { 0% { top: 0; } 100% { top: 100%; } }
@keyframes ai-tackica { 0%, 80%, 100% { opacity: 0; } 40% { opacity: 1; } }
