﻿/*START OF LOADERS*/

.no-js #loader {
    display: none;
}

.js #loader {
    display: block;
    position: absolute;
    left: 100px;
    top: 0;
}

.se-pre-con {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url("/Content/img/Preloader_3.gif") center no-repeat #fff;
}

body[data-theme="dark"] #teamsTabLoading {
    background: rgba(32,31,31,0.96);
}

body[data-theme="dark"] .teams-loader-title {
    color: #ffffff;
}

body[data-theme="dark"] .teams-loader-subtitle {
    color: #c8c6c4;
}


.teams-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 22px;
}

    .teams-loader div {
        width: 14px;
        height: 14px;
        border-radius: 50%;
        background: #6264a7;
        animation: teamsPulse 1.2s infinite ease-in-out;
    }

        .teams-loader div:nth-child(2) {
            animation-delay: 0.15s;
        }

        .teams-loader div:nth-child(3) {
            animation-delay: 0.3s;
        }

@keyframes teamsPulse {
    0%, 80%, 100% {
        transform: scale(0.7);
        opacity: 0.45;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.teams-loader-title {
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #323130;
}

.teams-loader-subtitle {
    margin-top: 8px;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    color: #605e5c;
}
/*END OF LOADERS*/


/*GLOBAL TOAST STYLING*/
/* TOAST/ALERT */
.edu1step-toast {
    position: fixed;
    bottom: 34px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 280px;
    max-width: 90vw;
    background: #fff;
    color: #234;
    font-size: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px 0 rgba(44,130,201,0.14);
    border: 1.5px solid #dbeafe;
    padding: 16px 32px 16px 18px;
    z-index: 900000000;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: edu-toast-in 0.32s;
    transition: opacity 0.18s;
}

    .edu1step-toast[data-type="warning"] {
        border-color: #fbbf24;
        background: #fffbe9;
        color: #ad7304;
    }

    .edu1step-toast[data-type="danger"] {
        border-color: #ef4444;
        background: #fff3f3;
        color: #9f1239;
    }

    .edu1step-toast[data-type="success"] {
        border-color: #14b8a6;
        background: #e6fffa;
        color: #065f46;
    }

.edu1step-toast-icon {
    font-size: 1.42em;
    margin-right: 7px;
    line-height: 1;
}

.edu1step-toast-close {
    margin-left: auto;
    background: none;
    border: none;
    font-size: 1.45em;
    color: #789;
    cursor: pointer;
    padding: 2px 10px 2px 8px;
    border-radius: 6px;
}

    .edu1step-toast-close:hover {
        background: #f3f4f6;
        color: #e53e3e;
    }

@keyframes edu-toast-in {
    from {
        opacity: 0;
        bottom: 12px;
    }

    to {
        opacity: 1;
        bottom: 34px;
    }
}

/* Teams / Fluent theme variants */

.edu1step-toast {
    font-family: "Segoe UI", system-ui, sans-serif;
    box-shadow: 0 8px 28px rgba(0,0,0,.18);
    border-radius: 8px;
}

/* Teams light */
body.theme-light .edu1step-toast,
html[data-theme="light"] .edu1step-toast {
    background: #ffffff;
    color: #242424;
    border-color: #d1d1d1;
}

    body.theme-light .edu1step-toast[data-type="info"],
    html[data-theme="light"] .edu1step-toast[data-type="info"] {
        border-left: 5px solid #6264a7;
    }

    body.theme-light .edu1step-toast[data-type="success"],
    html[data-theme="light"] .edu1step-toast[data-type="success"] {
        background: #f1faf6;
        color: #0f6c3f;
        border-color: #92c353;
        border-left: 5px solid #92c353;
    }

    body.theme-light .edu1step-toast[data-type="warning"],
    html[data-theme="light"] .edu1step-toast[data-type="warning"] {
        background: #fff8e1;
        color: #8a6100;
        border-color: #f3c84b;
        border-left: 5px solid #f3c84b;
    }

    body.theme-light .edu1step-toast[data-type="danger"],
    html[data-theme="light"] .edu1step-toast[data-type="danger"] {
        background: #fff4f4;
        color: #a4262c;
        border-color: #d13438;
        border-left: 5px solid #d13438;
    }

/* Teams dark */
body.theme-dark .edu1step-toast,
html[data-theme="dark"] .edu1step-toast,
body[data-theme="dark"] .edu1step-toast {
    background: #2b2b2b;
    color: #f5f5f5;
    border-color: #484848;
    box-shadow: 0 10px 32px rgba(0,0,0,.45);
}

    body.theme-dark .edu1step-toast[data-type="info"],
    html[data-theme="dark"] .edu1step-toast[data-type="info"],
    body[data-theme="dark"] .edu1step-toast[data-type="info"] {
        border-left: 5px solid #8b8cc7;
    }

    body.theme-dark .edu1step-toast[data-type="success"],
    html[data-theme="dark"] .edu1step-toast[data-type="success"],
    body[data-theme="dark"] .edu1step-toast[data-type="success"] {
        background: #123524;
        color: #b7f7d0;
        border-color: #3fb950;
        border-left: 5px solid #3fb950;
    }

    body.theme-dark .edu1step-toast[data-type="warning"],
    html[data-theme="dark"] .edu1step-toast[data-type="warning"],
    body[data-theme="dark"] .edu1step-toast[data-type="warning"] {
        background: #3b2f0b;
        color: #ffe8a3;
        border-color: #f3c84b;
        border-left: 5px solid #f3c84b;
    }

    body.theme-dark .edu1step-toast[data-type="danger"],
    html[data-theme="dark"] .edu1step-toast[data-type="danger"],
    body[data-theme="dark"] .edu1step-toast[data-type="danger"] {
        background: #442020;
        color: #ffb3ad;
        border-color: #d13438;
        border-left: 5px solid #d13438;
    }

body.theme-dark .edu1step-toast-close,
html[data-theme="dark"] .edu1step-toast-close,
body[data-theme="dark"] .edu1step-toast-close {
    color: #c8c6c4;
}

    body.theme-dark .edu1step-toast-close:hover,
    html[data-theme="dark"] .edu1step-toast-close:hover,
    body[data-theme="dark"] .edu1step-toast-close:hover {
        background: rgba(255,255,255,.08);
        color: #ffffff;
    }

/* Teams high contrast / accessibility */
body.theme-contrast .edu1step-toast,
html[data-theme="contrast"] .edu1step-toast {
    background: #000;
    color: #fff;
    border: 2px solid #fff;
}

    body.theme-contrast .edu1step-toast[data-type="success"],
    html[data-theme="contrast"] .edu1step-toast[data-type="success"] {
        border-left: 6px solid #00ff00;
    }

    body.theme-contrast .edu1step-toast[data-type="warning"],
    html[data-theme="contrast"] .edu1step-toast[data-type="warning"] {
        border-left: 6px solid #ffff00;
    }

    body.theme-contrast .edu1step-toast[data-type="danger"],
    html[data-theme="contrast"] .edu1step-toast[data-type="danger"] {
        border-left: 6px solid #ff5555;
    }
/*END OF GLOBAL TOAST STYLING*/


/*START OF GLOBAL CONFIRMATION DIALOG STYlING*/

.edu-confirm-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.35);
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.edu-confirm-dialog {
    width: min(440px, calc(100vw - 32px));
    background: var(--edu-surface, #fff);
    color: var(--edu-text, #242424);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,.24);
    border: 1px solid var(--edu-border, #e1dfdd);
    overflow: hidden;
}

.edu-confirm-header {
    padding: 16px 20px 8px;
    font-size: 18px;
    font-weight: 700;
}

.edu-confirm-body {
    padding: 8px 20px 20px;
    font-size: 16px;
    line-height: 1.45;
}

.edu-confirm-footer {
    padding: 12px 20px 16px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.edu-confirm-btn {
    border: 1px solid #d1d1d1;
    background: #fff;
    color: #242424;
    border-radius: 4px;
    padding: 6px 14px;
    font-size: 16px;
    cursor: pointer;
}

    .edu-confirm-btn:hover {
        background: #f5f5f5;
    }

.edu-confirm-btn-primary {
    background: #6264a7;
    border-color: #6264a7;
    color: #fff;
}

    .edu-confirm-btn-primary:hover {
        background: #5558a3;
    }

.edu-confirm-btn-danger {
    background: #c4314b;
    border-color: #c4314b;
    color: #fff;
}

    .edu-confirm-btn-danger:hover {
        background: #a4262c;
    }

/* Teams dark theme */
body.theme-dark .edu-confirm-dialog,
html[data-theme="dark"] .edu-confirm-dialog,
body[data-theme="dark"] .edu-confirm-dialog {
    --edu-surface: #292929;
    --edu-text: #f5f5f5;
    --edu-border: #484848;
}

body.theme-dark .edu-confirm-btn,
html[data-theme="dark"] .edu-confirm-btn,
body[data-theme="dark"] .edu-confirm-btn {
    background: #3b3a39;
    color: #fff;
    border-color: #605e5c;
}

    body.theme-dark .edu-confirm-btn:hover,
    html[data-theme="dark"] .edu-confirm-btn:hover,
    body[data-theme="dark"] .edu-confirm-btn:hover {
        background: #484644;
    }

.edu-confirm-warning {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 6px;
    background: rgba(196, 49, 75, 0.10);
    border: 1px solid rgba(196, 49, 75, 0.25);
    color: #a4262c;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .edu-confirm-warning i {
        font-size: 15px;
    }

body.theme-dark .edu-confirm-warning,
html[data-theme="dark"] .edu-confirm-warning,
body[data-theme="dark"] .edu-confirm-warning {
    background: rgba(255, 99, 71, 0.12);
    border-color: rgba(255, 99, 71, 0.25);
    color: #ffb3ad;
}


.edu-confirm-header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px 10px 20px;
    border-bottom: 1px solid rgba(0,0,0,.08);
    position: relative;
}

.edu-confirm-header {
    flex: 1 1 auto;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.3;
    padding-right: 40px;
}

.edu-confirm-message {
    margin-left: 20px;
    margin-right: 20px;
}

.edu-confirm-close {
    position: absolute !important;
    right: 12px !important;
    top: 10px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 20;
    margin: 0 !important;
    padding: 0 !important;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

    .edu-confirm-close:hover {
        background: rgba(0,0,0,.06);
        border-radius: 4px;
    }

.edu-confirm-footer {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    padding: 14px 20px 18px;
}

    .edu-confirm-footer .btn-primary {
        min-width: 90px;
    }

.edu-confirm-x {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #605e5c;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
    z-index: 25;
}

    .edu-confirm-x:hover {
        background: rgba(0,0,0,.06);
        color: #323130;
    }

    .edu-confirm-x:focus {
        outline: none;
        box-shadow: 0 0 0 2px rgba(98,100,167,.35);
    }

    .edu-confirm-x span {
        font-size: 16px;
        line-height: 1;
    }

/* dark mode */
body.theme-dark .edu-confirm-x,
html[data-theme="dark"] .edu-confirm-x,
body[data-theme="dark"] .edu-confirm-x {
    color: #c8c6c4;
}

    body.theme-dark .edu-confirm-x:hover,
    html[data-theme="dark"] .edu-confirm-x:hover,
    body[data-theme="dark"] .edu-confirm-x:hover {
        background: rgba(255,255,255,.08);
        color: #fff;
    }

.edu-modal-footer-left {
    justify-content: flex-start !important;
    gap: 8px;
}
/*END OF GLOBAL CONFIRMATION DIALOG STYlING*/
