@import url('open.iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    /*font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;*/
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    display: flex;
    flex-direction: column;
}

.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;
}

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}
.loading-progress circle {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 0.6rem;
    transform-origin: 50% 50%;
    transform: rotate(-90deg);
}
.loading-progress circle:last-child {
    stroke: #1b6ec2;
    stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
    transition: stroke-dasharray 0.05s ease-in-out;
}
.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}
.loading-progress-text:after {
    content: var(--blazor-load-percentage-text, "Cargando");
}

/****************** CUSTOM COLORS **************************/
:root {
    --status-green: #BDDBA9;
    --status-blue: #ADC2EA;
    --status-red: #F4BD98;
    --status-yellow: #FCE2A2;
    --status-gray: #CECECE;
}
/***************** CUSTOM STYLES ************************/
html, body, #app {
    height: 100%;
    overflow: hidden;
}

.body-layout {
    padding: 20px;
    background-color: var(--bs-gray-100);
    height:100%;
}

.body-scrollable {
    overflow-y: auto;
    max-height: calc(100vh - 60px);
}

.grid-scrollable {
    height: calc(100vh - 200px);
}

#sidebar {
    background-image: none !important;
    background-color: var(--bs-primary);
}

.menu {
    padding:16px 0;
    overflow-y: auto;
    max-height: 90vh;
}
.menu-category {
    color: #ffffff85;
    padding: 10px 0;    
}
.menu-category .dxbl-menu-item-text {    
    font-size: large;
}
.menu-item {
    color: var(--bs-white) !important;
    padding: 2px 16px !important;
}

.page-title {
    padding-top: 10px;
    padding-bottom: 16px;
}

.popup-lx {
    max-width: 800px !important;
    min-width: 300px !important;
}

.avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    overflow: hidden;
    /*border: 2px solid #ccc;*/
    /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bs-primary);
    position: relative;
    font-size: 8px;
    /*font-weight: bold;*/
    color: white;
    text-transform: uppercase;
}
.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.notification.selected {
    font-weight:700;
}
.notification .title{
    font-size:1rem;
}
/**************** WELCOME *********************/
.welcome {
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.welcome-gridlayout {
    margin: auto;
    width: auto;
    height: auto;
}
.welcome-gridlayout .dxbl-gridlayout-root {
    align-content: center;
    justify-content: center;
}
.welcome-title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.welcome-title .welcome-title-header {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: 0em;
    text-align: center;
}
.welcome-title .welcome-title-content {
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0em;
    text-align: center;
}
.welcome-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}
.welcome-card {
    width: 26.25rem;
    height: 15rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -2px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s;
    border-radius: 1rem;
    color: var(--bs-link-color-rgb);
    gap: 1.5rem;
    text-decoration: none;
    position: relative;
}
.welcome-card:hover {
    box-shadow: 0px 20px 25px -5px rgba(0, 0, 0, 0.1), 0px 8px 10px -6px rgba(0, 0, 0, 0.1);
}
.welcome-card .welcome-card-img {
    width: 6.5rem;
    height: 6.5rem;
}
.welcome-card .welcome-card-text {
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: 0em;
    text-align: center;
    text-decoration: unset;
}
.icon-fill {
    fill: var(--bs-primary);
}
.welcome-card .welcome-card-back {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bs-body-color);
    opacity: 0.05;
    border-radius: 1rem;
    z-index: -2;
}

/**************** LOGIN ********************/
.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100vh;
}

.login-form-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.login-logo {
    width: 250px;
    padding-bottom: 60px;
}

.login-form {
    background-color: #f9f9f9;
    padding: 20px;
    max-width: 350px;
    border: 1px solid #ccc;
}

.login-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f5f5f5;
}

.login-background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .login-container {
        grid-template-columns: 1fr;
    }

    .login-image-container {
        display: none;
    }
}
/***************** PROPUESTA ********************/
.propuesta-estatus {
    border-radius: 4px;
    width: 16px;
    height: 16px;
}

.propuesta-tab-container {
    padding: 16px 0;
}

.badge-grid {
    border-radius: 20px;
    font-weight: 500;
    padding: 8px 12px;
}
/***************** EXPEDIENTES *****************/
.grid-expediente{
    max-height:50vh;
}