* {
    font-family: 'Myriad Pro', sans-serif; /* Defina a fonte como padrão para todos os elementos */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* modo dark */

body.dark {
    --primary-color: #FF7600;
    --hover-color: #A15C35;
    --color-white: #282828;
    --slider-container: #474b4e;
    --grouping-color: #3a3a3a;
    --color-black: white;
    --color-Fixed_Black: black;
    --tableHeader-color: #404040;
    --text-color: #D4D4D4;
    --info-color: #2D4CD7;
    --textMud-color: #EBEBEB;
    --remove-color: #E2484A;
    --background-color: #3C3C3C;
    --card-color: rgb(36, 33, 33);
    --card-text-color: rgb(255, 255, 255);
    --background-color-hover: #8a8181;
    --color-azul: #0065BF;
    --dropuser-color: #222222;
    --group-empresas: #222222;
}

body {
    --primary-color: #FF7600;
    --hover-color: #D46300;
    --color-white: white;
    --color-black: black;
    --slider-container: #495a83ba;
    --grouping-color: #CECEDF;
    --tableHeader-color: #53565D;
    --textMud-color: #EEEEEE;
    --text-color: #695e5e;
    --info-color: #586BCA;
    --remove-color: #E2484A;
    --background-color: #dadada;
    --card-color: rgb(247, 247, 247);
    --card-text-color: rgb(29, 26, 26);
    --background-color-hover: #bdb7b7;
    --color-azul: #0065BF;
    --dropuser-color: #e2e2e2;
    --group-empresas: white;
}

.cursor-pointer {
    cursor: pointer;
}

.btn-orange {
    background-color: var(--primary-color);
    font-weight: bold;
    color: var(--text-color);
}

.page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mud-data-grid {
    border-radius: 16px;
    width: 100% !important;
    max-width: 100%;
    padding: 8px;
    background: var(--grouping-color);
    display: grid;
    box-shadow: none;
    overflow-x: auto;
}

    .mud-data-grid thead th {
        background-color: var(--tableHeader-color) !important;
        color: var(--textMud-color) !important;
        font-weight: bold !important;
        font-size: 17px;
        border-right: 2px solid white;
    }

.table-default .mud-data-grid .mud-table-cell .column-header .sortable-column-header,
.column-header {
    color: var(--textMud-color) !important;
}

.searchBar {
    display: flex;
    flex-grow: 1;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    height: 46px;
    justify-content: center;
    padding: 16px;
}

.grupoEmpresas .mud-icon-root {
    color: var(--color-black);
}

.grupoEmpresas .teste {
    display: flex;
    background: none;
}

.grupoEmpresas td button svg {
    font-size: 20px;
}

.grupoEmpresas .mud-table-row {
    background: var(--group-empresas) !important;
}

.switchs .mud-table {
    border: 3px solid var(--bs-gray-300);
    box-shadow: none;
    background: none;
}

    .switchs .mud-table .mud-table-pagination-actions .mud-icon-root {
        color: var(--color-black) !important;
    }

.grupoEmpresas .mud-table-cell {
    color: var(--color-black) !important;
}

.grupoEmpresas .mud-svg-icon {
    color: var(--text-color) !important;
}

.btnAcao {
    border-radius: 8px;
    box-shadow: none;
}

    .btnAcao:hover {
        box-shadow: none !important;
    }

.btnInfoUser {
    border-radius: 8px;
    width: 40px;
    height: 40px;
    box-shadow: none;
    background: var(--info-color) !important;
    color: var(--color-white) !important;
}

    .btnInfoUser:hover {
        background: #4A4A75 !important;
        box-shadow: none !important;
    }

.noImage {
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    max-width: 460px;
    width: auto;
    min-height: 230px;
    padding: 32px;
}

.mud-dialog {
    width: fit-content;
    min-width: 300px;
    height: fit-content;
    padding: 12px;
    border-radius: 18px;
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.3), 0 0 10px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

    .mud-dialog .mud-dialog-title {
        padding: 10px 10px 0px 10px;
    }

    .mud-dialog .mud-dialog-content {
        width: auto;
        margin: 0;
        padding: 20px 10px 20px;
    }

        .mud-dialog .mud-dialog-content .input-padrao {
            border: 2px solid var(--border-color);
            border-radius: 8px;
            display: flex;
            gap: 12px;
            height: 100%;
            width: 100%;
            margin: 0 !important;
            justify-self: start;
            align-items: center;
        }


    .mud-dialog .mud-dialog-actions {
        display: flex;
        gap: 4px;
    }

        .mud-dialog .mud-dialog-actions .actions-wAdd {
            display: grid;
            gap: 8px;
        }

    .mud-dialog .actions-wAdd,
    .mud-dialog .actions-wAdd .mud-button {
        width: 100% !important;
    }

.input-padrao {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    gap: 12px;
    height: 100%;
    width: 100%;
    margin: 0 !important;
    justify-self: start;
}

    .input-padrao .mud-icon-root {
        color: var(--bs-gray) !important;
    }

.column-header {
    font-weight: 600;
    font-size: 15px;
    color: var(--mud-palette-grey-dark);
}

.mud-table-cell {
    font-size: 13px;
}

.mud-table-container {
    border-radius: 10px;
}

.removeModal {
    display: grid;
    width: 60px;
    height: 60px;
    border-radius: 14px;
    color: var(--white-color) !important;
    font-weight: bolder;
    font-size: 40px !important;
    background-color: var(--remove-color);
    justify-content: center;
    align-items: center;
}

.textcor {
    color: var(--text-color) !important;
    cursor: auto;
}

.textcor-video {
    color: var(--text-color) !important;
    cursor: pointer;
}

.textcor:hover {
    color: #fd5d00;
}

.textcor-video:hover {
    color: var(--card-text-color);
}

.custom-pad {
    padding-top: 100px;
    padding-bottom: 100px;
}

.admin-pad {
    margin: 0px;
    margin-top: 100px;
    margin-bottom: 100px;
    justify-content: space-between;
    gap: 0px;
}

.cardcolor {
    align-items: center;
    justify-content: center;
}

    .cardcolor ul {
        padding: 0;
    }

        .cardcolor ul li {
            padding: 10px;
            color: var(--text-color);
            align-items: center;
            cursor: pointer;
            font-size: 13px;
            transition: all 0.2s ease-in-out;
        }

            .cardcolor ul li:hover {
                color: var(--card-text-color);
                font-weight: bold;
            }

.text-grid {
    color: rgb(51, 50, 49);
    text-decoration: dotted;
}

.titlecor {
    font-size: 28px;
    font-weight: bold;
    color: var(--text-color);
}

.titleProgress {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-color);
}

/* remove o estilo do botão que estava por padrão */
.unstyled-button {
    background: none; /* Remove o fundo */
    border: none; /* Remove a borda */
    padding: 0; /* Remove o padding */
    margin: 0; /* Remove a margem */
    cursor: pointer; /* Adiciona cursor de ponteiro, opcional */
}

.btn {
    background-color: var(--primary-color);
    border-radius: 6px;
    width: 120px;
    color: white;
    padding: 10px 24px;
}

.btn-custom-width {
    width: 100% !important;
}


.cardbox-details {
    min-width: fit-content;
    min-height: fit-content;
    font-size: 14px;
}

.NoProgress-Video {
    display: grid;
    justify-items: center !important;
    justify-content: center !important;
}

.container-NoProgress-Video {
    width: fit-content;
    justify-content: center !important;
    align-items: center !important;
}

.logo-NoProgressVideo {
    width: 100px;
    height: 100px;
}

.NoProgress-Video-Wrapper {
    justify-content: center !important;
    align-items: center !important;
}

.NoProgress-Video {
    color: var(--text-color);
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}


.Error-Video {
    display: grid;
    width: 100%;
    height: 32vh;
    margin-bottom: 14vh;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
}

.container-error-Video {
    width: 120px;
    height: 120px;
}

.logo-errorVideo {
    width: 100%;
    height: 100%;
}

.error-Video {
    color: var(--text-color);
    font-size: 18px;
    font-weight: bold;
}

.cursoContainer {
    display: flex;
    gap: 8px;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: stretch;
}

.mudSelect-Custom {
    background: var(--bs-gray-500) !important;
    border-radius: 8px;
    display: flex;
    gap: 20px;
    justify-content: space-between !important;
    color: white;
    align-items: stretch;
    padding: 6px 8px 6px 8px;
    font-size: 20px;
}

    .mudSelect-Custom .mud-input-label,
    .mudSelect-Custom .mud-input-control,
    .mudSelect-Custom .mud-input-adornment-icon {
        color: white !important;
    }

    .mudSelect-Custom .mud-select-input .mud-input-slot {
        border: none !important;
        color: var(--color-white);
    }

    .mudSelect-Custom .mud-list {
        width: 100% !important;
        background: var(--color-white) !important;
    }

    .mudSelect-Custom .mud-picker-inline .mud-picker-input-button .mud-input {
        color: white !important;
    }

    .mudSelect-Custom .mud-input-text {
        margin: 0 !important;
    }

    .mudSelect-Custom .mud-picker-inline,
    .mudSelect-Custom .mud-input,
    .mudSelect-Custom .mud-input-slot {
        color: white !important;
        border: none !important;
    }

.btn-adicionar {
    display: flex;
    gap: 12px;
    height: 100%;
    width: 120px;
    cursor: pointer;
    justify-content: center;
    align-items: flex-end;
    background-color: #4da153;
    border-radius: 8px;
    padding: 10px 20px;
    color: var(--color-white) !important;
    font-size: 16px;
    transition: all 0.2s ease-in-out;
}

    .btn-adicionar:hover {
        background-color: #2C6B30;
    }

.btn-iconAdd {
    height: 44px !important;
    background: #4da153;
    padding: 0 !important;
    margin: 0 !important;
    color: var(--color-white) !important;
    display: grid !important;
    border-radius: 6px !important;
    justify-content: center !important;
    align-items: center !important;
    transition: all 0.2s ease-in-out !important;
}

    .btn-iconAdd:hover {
        background: #2C6B30;
    }

.btnAdd-Page {
    display: flex;
    width: 100%;
    justify-content: flex-end;
}

    .btnAdd-Page .btn-adicionar {
        align-items: center;
        font-size: 15px;
        height: 40px;
    }

.input-wBtn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

    .input-wBtn .mud-input-control > .mud-input-control-input-container > div.mud-input.mud-input-text {
        margin: 0 !important;
    }


.infoModal {
    display: flex;
    width: 100%;
    height: fit-content;
    gap: 14px;
    border-radius: 14px;
    color: var(--text-color);
    font-weight: bolder;
    font-size: 20px !important;
    justify-content: flex-start;
    align-items: start;
    flex-direction: column;
    flex-wrap: nowrap;
}

    .infoModal .icon {
        display: flex;
        width:40px;
        height: 40px;
        background: var(--info-color);
        color: var(--white-color) !important;
        justify-content: center;
        align-items: center;
        border-radius: 100%;
    }

        .infoModal .icon i {
            padding: 6px;
            font-size: 16px;
            border-radius: 100%;
        }

    .infoModal p {
        font-size: 14px !important;
        font-weight: 400;
    }


.btnInfoUser {
    width: 20px;
    height: 40px;
    background: var(--info-color);
}

.grupoEmpresas .btnInfoUser td button:hover {
    background: #6870D9 !important;
}

.xIconModal {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-color);
}

    .xIconModal i {
        font-size: 20px;
    }


@media (min-width: 768px) {
    .admin-pad {
        margin-top: 60px;
        margin-left: 20px;
        margin-right: 20px;
        margin-bottom: 100px;
        gap: 40px;
        justify-content: space-between;
    }

    .Error-Video {
        display: grid;
        width: 100%;
        height: 32vh;
        margin-bottom: 10vh;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
    }

    .custom-pad {
        padding-top: 120px;
        padding-bottom: 120px;
    }

    .cardcolor ul li {
        padding: 8px;
        margin-left: 28px;
        list-style-type: disc;
        outline: none;
    }

    .btn-custom-width {
        width: 120px !important;
        border-radius: 10px;
    }

    .cardbox-details {
        min-width: fit-content;
        min-height: fit-content;
    }

    .mud-dialog {
        width: fit-content;
        min-width: 400px;
        height: fit-content;
        padding: 12px;
    }

        .mud-dialog .mud-dialog-actions .btn-remove,
        .mud-dialog .mud-dialog-actions .btn-salvar {
            width: 140px !important;
        }

        .mud-dialog .actions-wAdd,
        .mud-dialog .actions-wAdd .mud-button {
            width: 100% !important;
        }
}

@media (min-width: 900px) {
    .cardbox-details {
        min-width: 600px;
        align-items: center;
        min-height: fit-content;
    }
}

@media (min-width: 1024px) {
    .admin-pad {
        margin-top: 80px;
        margin-left: 40px;
        margin-right: 40px;
        margin-bottom: 100px;
        justify-content: center;
    }

    .Error-Video {
        display: grid;
        width: 100%;
        height: 32vh;
        margin-bottom: 0vh;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
    }

    .cardbox-details {
        min-width: 600px;
        min-height: fit-content;
    }
}

@media (min-width: 1200px) {
    .admin-pad {
        margin: 70px;
        gap: 100px;
        margin-bottom: 100px;
        justify-content: center;
    }

    .cardbox-details {
        min-width: 680px;
        min-height: fit-content;
    }
}

@media (min-width: 1400px) {
    .admin-pad {
        margin-top: 100px;
        margin-bottom: 100px;
        justify-content: center;
    }

    .switchs {
        min-width: 1000px;
    }
}

.videoatual {
    font-weight: bold;
    color: var(--card-text-color);
}

    .videoatual:hover {
        color: var(--text-color);
    }

.btn:hover {
    color: white;
    background-color: var(--hover-color);
}

.error-img {
    width: 100px;
    height: 100px;
}

/* blazor style */
#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;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading {
    display: flex;
    height: 100vh;
    justify-content: center !important;
    align-items: center !important;
}

.container-loading-p {
    position: relative;
    display: inline-block;
    width: 180px;
    height: 80px;
    overflow: hidden;
}

.logo-loading-p {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}

.loading-wrapper-p {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    overflow: hidden;
    z-index: 1;
}

.loading-p {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 180%;
    height: 400%;
    background: coral;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 40%;
    animation: fill 1.8s infinite ease-in-out;
}

@keyframes fill {
    from {
        top: 80px;
        transform: translateX(-50%) rotate(0deg);
    }

    to {
        top: -20px;
        transform: translateX(-50%) rotate(360deg);
    }
}

/* botão do dark mode */
.checkbox {
    opacity: 0;
    position: absolute;
}

.label {
    background: var(--color-white);
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px;
    position: relative;
    height: 24px;
    width: 46px;
    transform: scale(1.0);
}

    .label .bola {
        background-color: var(--primary-color);
        border-radius: 50%;
        position: absolute;
        top: 2px;
        left: 2px;
        height: 20px;
        width: 20px;
        transform: translateX(0px);
        transition: transform 0.2s linear;
    }

.checkbox:checked + .label .bola {
    transform: translateX(22px);
}

.fa-moon {
    color: var(--primary-color);
}

.fa-sun {
    color: var(--primary-color);
}

body {
    overflow: hidden;
    overflow-y: scroll;
    background-color: var(--color-white);
}

.background-page-specific {
    background-color: var(--background-color);
}

body::-webkit-scrollbar {
    display: none;
}

h1, h2, h3, h4, p {
    margin: 0;
}

    h1:focus {
        outline: none !important;
    }

p, a {
    text-decoration: none !important;
}
