@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

.main {
    overflow: auto;
    background-color: #E0E7EF;
    width: 100%;
    height: 100%;
}

html, .main-empty {
    overflow: auto;
    background-color: #CCD7E4 !important;
    color: #001B3B;
    width: 100%;
    height: 100%;
    top: 0
}

/*html, .main-dark {*/
/*overflow: auto;*/
/*background-color: #000D1D !important;
    color: #CCD7E4;
    width: 100%;
    height: 100%;
    top: 0
}*/

.ar-card {
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
}

.error-message {
    color: red;
    padding-bottom: 2rem;
}

.view-title {
    position: absolute;
    left: 25px;
    font-weight: bold;
    font-size: 20px;
}

audio {
    max-height: 2rem;
}

    audio:focus {
        outline: none;
    }

.sort-button {
    font-size: .7rem;
    margin-left: -.5rem;
}

.blfbox-content {
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blfbox-contentSmall {
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.panel-extend-button {
    position: relative;
    top: 1rem;
    left: 1rem;
    min-width: 28px;
    padding: .5rem;
    cursor: pointer;
    font-size: 12px;
    text-align: center;
    border-radius: 50%;
    background-color: black;
    color: white;
    z-index: 100;
}

.subrow {
    background-color: lightgray;
}

.form-inline input, .form-inline a, .form-inline div button {
    margin-right: 1rem;
}

.form-inline label:not(.report-label) {
    margin-right: 5px;
}

.small-inputs input {
    max-width: 7rem;
}

.row-filter-button {
    transform: scale(.8);
    background-color: lightgray;
}

dd {
    text-indent: 25px;
}

th {
    background-color: #99AEC8 !important;
    color: #001B3B !important;
}

th {
    /*text-align: center;*/
    user-select: none;
}

.table td, .table th {
    vertical-align: middle !important;
}

.sm-h-table td, .sm-h-table th {
    /*padding: .4rem .75rem !important;*/
    padding: .4rem .75rem .4rem 0 !important;
}

.sm-h-table-top th {
    /*padding: .4rem .75rem !important;*/
    padding: .4rem .75rem .4rem 0 !important;
    vertical-align: top !important;
}

.sm-h-table-top td {
    /*padding: .4rem .75rem !important;*/
    padding: .4rem .75rem .4rem 0 !important;
}

.checkbox-menu li label {
    display: block;
    padding: 3px 10px;
    clear: both;
    font-weight: normal;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
    margin: 0;
    transition: background-color .4s ease;
}

.checkbox-menu li input {
    margin: 0px 5px;
    top: 2px;
    position: relative;
}

.checkbox-menu li.active label {
    background-color: #434240;
    font-weight: bold;
}

.checkbox-menu li label:hover,
.checkbox-menu li label:focus {
    background-color: #f5f5f5;
}

.checkbox-menu li.active label:hover,
.checkbox-menu li.active label:focus {
    background-color: #b8b8ff;
}

.collapse-header {
    color: black;
    cursor: pointer;
}

    .collapse-header span {
        font-size: 1rem;
        margin-right: .5rem;
    }

    .collapse-header:hover {
        color: black;
        text-decoration: none;
    }

.foreground {
    position: relative;
    z-index: 9999;
}

.hidden {
    visibility: hidden;
    opacity: 0;
    transition: all 200ms;
}

.visible {
    visibility: visible;
    opacity: 1;
    transition: all 200ms;
}

@media (max-width: 767.98px) {
    .responsive-noshow {
        display: none;
    }
}

.tableFixHead table {
    border-collapse: collapse;
    width: 100%;
}

.tableFixHead th,
.tableFixHead td {
    /*padding: 8px 16px;*/
}

.tableFixHead tfoot {
    border-color: rgb(100,100,100) !important;
}

.tableFixHead td {
    border-color: rgb(100,100,100) !important;
}

.tableFixHead th {
    top: -2px;
    text-align: center;
}

#align-column {
    text-align: left !important;
    padding-left: 10px !important;
}


.table thead th {
    border: none !important;
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    height: 100%;
    width: 100%;
}

body {
    background-color: #E0E7EF;
    color: #001B3B;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    background-color: #4898DA !important;
    border-color: #4898DA !important;
}



.btn-success {
    background-color: #3DC237 !important;
    border-color: #3DC237 !important;
}

.btn-danger {
    background-color: #B60F47 !important;
    border-color: #B60F47 !important;
}

.btn-header {
    color: #000000;
}

.toggleable {
    visibility: visible;
}

    .toggleable.active {
        visibility: visible;
    }

.btn-width-1 {
    width: 1rem;
}

.btn-width-4 {
    width: 4rem;
}

.btn-width-6 {
    width: 6rem;
}

.btn-width-8 {
    width: 8rem;
}

.btn-light {
    background: #99AEC8 !important;
    border: none !important;
}


app {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
    background-color: #99AEC8;
    color: #001B3B;
}

.main {
    flex: 1;
}

    .main .top-row {
        justify-content: flex-end;
    }

        .main .top-row > a, .main .top-row .btn-link {
            white-space: nowrap;
            margin-left: 1.5rem;
        }

        .main .top-row a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

.login {
    color: #000D1D;
    border-radius: 5px;
    padding: 5px;
}

    .login:hover {
        background-color: #CDD2D5;
        border-radius: 5px;
        padding: 5px;
    }

.link-nodeco:hover {
    color: #000D1D;
    text-decoration: none;
}

/*.navbar-brand {
    color: rgba(0,0,0,0.7);
}*/

.sidebar {
    background-color: #99AEC8;
    overflow-y: auto;
}

    .sidebar .top-row {
        background-color: #6686AD;
        color: #001B3B;
        font-weight: 600;
    }

    .sidebar .navbar-brand {
        font-size: 1.1rem;
    }

    .sidebar .oi {
        width: 2rem;
        font-size: 1.1rem;
        vertical-align: text-top;
        top: -2px;
    }

    .sidebar .nav-item {
        font-size: 0.9rem;
        padding-bottom: 0.5rem;
    }

        .sidebar .nav-item:first-of-type {
            padding-top: 1rem;
        }

        .sidebar .nav-item:last-of-type {
            padding-bottom: 1rem;
        }

        .sidebar .nav-item a {
            color: #001B3B;
            border-radius: 4px;
            height: 3rem;
            display: flex;
            align-items: center;
            line-height: 3rem;
        }

            .sidebar .nav-item a.active {
                background-color: #CCD7E4;
                color: #001B3B;
            }

            .sidebar .nav-item a:hover {
                background-color: #FAFBFB;
                color: #001B3B;
            }

.comment-edit-project {
    width: 225.8px;
}

.active-edit-project {
    margin-left: 1rem;
}

.visibleDivOkCancelProjects {
    margin-top: 2rem;
    text-align: left;
}

.btn-edit-project {
    width: 125px;
}

.visibleDivOkCancel {
    position: static;
    bottom: 10px;
    right: 30px;
    width: 250px;
    text-align: left;
}

.visibleDiv {
    font-size: x-small;
    bottom: 10px;
    margin-left: 30px;
    width: 150px;
    text-align: left;
}

    .visibleDiv a {
        color: whitesmoke;
    }

.content {
    padding-top: 1.1rem;
    width: 100%;
    height: 100%;
    background-color: #CCD7E4 !important;
    color: #001B3B;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

@media(max-width: 1700px) {
    .display-icons {
        display: none;
        overflow: auto;
    }
}


@media (max-width: 1079.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: flex-end;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }

    .report {
        width: 100px;
    }
}

@media (min-width: 1080px) {
    app {
        flex-direction: row;
    }

    .sidebar {
        width: 200px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .main .top-row {
        position: sticky;
        top: 0;
    }

    .main > div {
        padding-left: 2rem !important;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block !important;
    }
}

/* improved for chat text box */
textarea {
    border: 1px dashed #888;
    border-radius: 5px;
    width: 80%;
    overflow: auto;
    background: #f7f7f7
}

/* improved for speech bubbles */
.received, .sent {
    position: relative;
    font-family: arial;
    font-size: 1.1em;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

    .received:after, .sent:after {
        content: '';
        border: 20px solid transparent;
        position: absolute;
        margin-top: -30px;
    }

.sent {
    background: #03a9f4;
    color: #fff;
    margin-left: 10%;
    top: 50%;
    text-align: right;
}

.received {
    background: #4CAF50;
    color: #fff;
    margin-left: 10px;
    margin-right: 10%;
}

.sent:after {
    border-left-color: #03a9f4;
    border-right: 0;
    right: -20px;
}

.received:after {
    border-right-color: #4CAF50;
    border-left: 0;
    left: -20px;
}

/* div within bubble for name */
.user {
    font-size: 0.8em;
    font-weight: bold;
    color: #000;
}

.msg {
    /*display: inline;*/
}

.clickable {
    border: 1px solid grey;
    border-radius: 10px;
    width: 138px;
    display: inline-block;
    height: 60px;
    margin-right: 5px;
    margin-bottom: 5px;
    font-size: small;
    vertical-align: bottom;
    cursor: pointer;
}

.clickableSmall {
    border: 1px solid grey;
    border-radius: 10px;
    width: 80px;
    display: inline-block;
    height: 45px;
    margin-right: 5px;
    margin-bottom: 5px;
    font-size: small;
    vertical-align: bottom;
    cursor: pointer;
}

.clickableMessage {
    border: 1px solid grey;
    border-radius: 10px;
    width: 100%;
    display: inline-block;
    height: 33px;
    margin-right: 5px;
    margin-bottom: 5px;
    font-size: larger;
    vertical-align: bottom;
    cursor: pointer;
    background-color: red;
    text-align: center
}

thead {
    /*text-align: center;*/
    position: relative;
    z-index: 1;
}

tfoot {
    font-weight: bold;
    border-top: 2px solid #dee2e6;
}

state-btn {
    width: 250px;
}

.report-label {
    text-align: right;
    clear: both;
    float: left;
    margin-right: 6px;
    text-decoration: underline;
    text-decoration-thickness: 1px !important;
    cursor: pointer;
}

div.blazor-context-menu {
    line-height: 0.6rem;
    font-size: small;
}

/*Tooltip CSS*/

.tooltip-wrapper {
    position: relative;
    display: inline-block;
    cursor: help;
}

.tooltip-span {
    visibility: hidden;
    position: absolute;
    width: 120px;
    bottom: 100%;
    left: 50%;
    margin-left: -60px;
    background-color: #363636;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    z-index: 1;
}

    .tooltip-span::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 50%;
        margin-left: -5px;
        border-width: 5px;
        border-style: solid;
        border-color: #555 transparent transparent transparent;
    }

.tooltip-wrapper:hover .tooltip-span {
    visibility: visible;
    transition-property: visibility;
    transition-delay: .8s;
}


.am-link:link {
    text-decoration: none;
    color: #000D1D;
}

.am-link:visited {
    text-decoration: none;
    color: #000D1D;
}

.am-link:hover {
    text-decoration: none;
    color: #B60F47;
}

label {
    color: #000D1D;
}

h3 {
    color: #000D1D;
}

agentMonitorSub {
    color: #000D1D;
}

.btn-qm-recording {
    width: 4rem !important;
}

.bg-input {
    border-color: #99AEC8 !important;
    background-color: #99AEC8 !important;
}

.statusteamspresence {
    float: right;
    margin: 0px 4px 0px -20px;
    font-size: 20px;
}


/****************************DARKMODE****************************/
html, .main-empty-darkmode {
    background-color: #000D1D !important;
    color: #001B3B;
    width: 100%;
    height: 100%;
}

.content-dark {
    padding-top: 1.1rem;
    background-color: #000D1D !important;
    color: #001B3B;
    width: 100%;
    height: 100%;
}

.darkmode h3 {
    color: #E0E7EF;
}

.darkmode label {
    color: #E0E7EF;
}

#p-dm {
    color: #E0E7EF;
}

.darkmode tfoot {
    border-color: #99AEC8 !important;
}

.darkmode td {
    border-color: #99AEC8 !important;
    color: #E0E7EF;
}

#btn-dm {
    color: #E0E7EF;
}

/********************************* SMARTclient ********************************************/
.btn-phone {
    width: 175px;
}

/* DragDropGrid component styles */
.drag-card {
    padding: 1rem;
    box-shadow: 0 4px 10px 0 rgb(0 0 0 / 20%), 0 4px 20px 0 rgb(0 0 0 / 19%);
}


.call-card {
    position: relative;
    overflow: hidden;
    width: 250px;
    height: 330px;
    margin: 0 auto;
    margin-top: 8rem;
    border-radius: 15px;
    background-color: #2f323a;
}

.call-header {
    position: relative;
    width: 100%;
    height: 70%;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    background-color: transparent;
}

.call-animation {
    position: absolute;
    width: 80px;
    height: 80px;
    top: 2rem;
    left: 5rem;
    border-radius: 50%;
    background-color: #22242a;
}

.call-ring {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('');
}

@keyframes call-ring {
    0% {
        transform: rotate(0deg);
    }

    20% {
        transform: rotate(-20deg);
    }

    21% {
        transform: rotate(0deg);
    }

    40% {
        transform: rotate(-20deg);
    }

    41% {
        transform: rotate(0deg);
    }

    60% {
        transform: rotate(-20deg);
    }

    80% {
        transform: rotate(-10deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.call-circle {
    position: absolute;
    width: 130px;
    height: 130px;
    top: 0rem;
    left: 0.4rem;
    border-radius: 50%;
    border: 10px solid #22242a;
    background-color: transparent;
    -webkit-animation: wave 1.4s infinite linear;
    -o-animation: wave 1.4s infinite linear;
    animation: wave 1.4s infinite linear;
}

.two {
    animation-delay: 0.35s;
    opacity: 0;
}

.three {
    animation-delay: 0.7s;
    opacity: 0;
}

@keyframes wave {
    0% {
        width: 130px;
        height: 130px;
        transform: translate(-32px, -30px);
        opacity: 1;
        border-width: 8px;
    }

    100% {
        width: 320px;
        height: 320px;
        transform: translate(-120px, -120px);
        opacity: 0.2;
        border-width: 15px;
    }
}

.phoneNumber {
    width: 100%;
    font-family: sans-serif;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    top: 8rem;
    position: absolute;
    color: #fff;
}

.calling {
    margin-top: 2rem;
    position: absolute;
    width: 100%;
    font-family: sans-serif;
    font-size: 14px;
    font-weight: 300;
    text-align: center;
    transform: translateY(125px);
    color: #fff;
    -webkit-animation: opacity 2.5s infinite linear;
    -o-animation: opacity 2.5s infinite linear;
    animation: opacity 2.5s infinite linear;
}

@keyframes opacity {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.2;
    }

    100% {
        opacity: 1;
    }
}

.call-footer {
    position: relative;
    margin-top: 1.5rem;
    width: 100%;
    height: 3.5rem;
    border-top: 1px solid #24262c;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    background-color: #282b32;
}

.call-widget-button {
    position: absolute;
    display: inline-block;
    width: 100px;
    height: 40px;
    top: 50%;
    cursor: pointer;
    border-radius: 40px;
    transform: translateY(-50%);
}

.call-decline {
    left: 7%;
    transition: all 0.3s;
    background-color: #E72E04;
}

.call-accept {
    right: 7%;
    transition: all 0.3s;
    background-color: #1ACE7A;
}

.call-red {
    display: block;
    position: absolute;
    width: 100px;
    height: 40px;
    background-image: url('');
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(3, 190px);
    gap: 5px;
}

.cell {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
    font-weight: bold;
}

/* Spalte 5 über zwei Zeilen */
.cell-row-span {
    grid-column: 5;
    grid-row: span 2;
    background-color: white;
}

/* Spalten 2–4 verbunden */
.cell-col-span-3 {
    grid-column: 2 / span 3;
    /*background-color: #e0ffe0;*/
}

/* Spalten 1-5 verbunden */
.cell-col-span-5 {
    grid-column: span 5;
    /*background-color: #e0ffe0;*/
}

.stat-tile {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #ccc;
    padding: 20px;
    border-radius: 8px;
    height: 100%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-family: sans-serif;
    text-align: center;
}

.stat-value {
    font-size: 5rem;
    font-weight: normal;
    color: #333;
}

.stat-label {
    font-size: 1.5rem;
    color: #666;
    margin-top: auto;
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    font-family: sans-serif;
    font-size: 12px;
    text-align: center;
}

    .dashboard-table th,
    .dashboard-table td {
        border: 1px solid #ccc;
        padding: 8px;
    }

    .dashboard-table th {
        background-color: #f0f0f0;
        font-weight: bold;
    }
