@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600&display=swap');

html, body {
    font-family: 'Roboto', sans-serif;
    color: #333333;
    background-color: #F4F5F7;
    height: 100%;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.main {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content {
    flex: 1 0 auto;
    padding-top: 1.1rem;
    padding-bottom: 60px; /* Space for fixed status bar */
    overflow-y: auto;
    margin-top: 5px;
}

.validation-message {
    font-size: 14px !important;
    color: red;
}

.loading-page {
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1F1C34;
    overflow: hidden;
}

.logo-container {
    text-align: center;
    position: relative;
    justify-items: center;
}

.logo {
    width: 60%;
    opacity: 0.3;
    animation: fade-in 5s forwards;
}

.spinner {
    margin-top: -50px;
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid cyan;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes fade-in {
    from {
        opacity: 0.3;
    }

    to {
        opacity: 1;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.custom-btn-primary {
    background-color: #345C93 !important;
    color: white !important;
    width: 130px;
    height: 30px;
    box-shadow: 2px 3px 3px rgba(0,0,0, 0.25) !important;
    border: none;
}

    .custom-btn-primary:hover {
        outline: 2px solid #BDC5DA !important;
        box-shadow: inset 2px 3px 3px rgba(0,0,0, 0.25) !important;
        font-weight: bold;
    }

.custom-btn-save {
    background-color: #535353 !important;
    color: white !important;
    width: 130px;
    height: 30px;
    box-shadow: 2px 3px 3px rgba(0,0,0, 0.25) !important;
    border: none;
}

    .custom-btn-save:hover {
        outline: 2px solid #C2C2C2 !important;
        box-shadow: inset 2px 3px 3px rgba(0,0,0, 0.25) !important;
        font-weight: bold;
    }

.custom-btn-secondary {
    background-color: #ffffff !important;
    color: black !important;
    width: 130px;
    height: 30px;
    box-shadow: 2px 3px 3px rgba(0,0,0, 0.25) !important;
    border: 2px solid #D1D5DB !important;
}

    .custom-btn-secondary:hover {
        
        box-shadow: inset 2px 3px 3px rgba(0,0,0, 0.25) !important;
        border: none;
        font-weight: bold;
    }

.custom-btn-icon-primary {
    padding: 0 0.25rem !important;
}

    .custom-btn-icon-primary:hover {
        text-decoration: none !important;
    }

.custom-btn-icon-primary .e-icons {
    background-color: transparent !important;
    color: black !important;
}

    .custom-btn-icon-primary:hover .e-icons {
        text-shadow: 2px 3px 3px rgba(0,0,0, 0.25) !important;
        color: #345C93 !important;
    }

.custom-btn-icon-delete {
    padding: 0 0.25rem !important;
}

.custom-btn-icon-delete:hover {
    text-decoration: none !important;
}

.custom-btn-icon-delete .e-icons {
    background-color: transparent !important;
    color: black !important;
}

    .custom-btn-icon-delete:hover .e-icons {
        text-shadow: 2px 3px 3px rgba(0,0,0, 0.25) !important;
        color: #FF0000 !important;
    }

.custom-table th:not(:first-child) {
    background-color: #345C93 !important;
    color: white;
}

.custom-table th .e-headercelldiv {
    font-size: 13px; 
}

.custom-table th.e-headercell[aria-sort=ascending] .e-headertext,
.custom-table th.e-headercell[aria-sort="descending"] .e-headertext {
    color: #cccccc !important;
}

.custom-table th .e-sortfilterdiv.e-icons {
    color: #cccccc !important;
}

.custom-table th .e-filtermenudiv.e-icons {
    color: white !important;
}
