@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html,
body {
    font-family: 'Sans Serif Collection', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html,
body {
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.button-link {
    text-decoration: unset;
}

#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;
}

.title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 0.625rem;
}

.title.title-secondary {
    padding-top: 0.313rem;
    padding-bottom: 0;
    color: var(--bs-secondary-color);
}

.title-header-text {
    font-size: 2.5rem;
    line-height: 3rem;
    font-weight: 600;
    letter-spacing: 0rem;
}

.title-content-text {
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 2.5rem;
    letter-spacing: 0rem;
}

.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.block-content {
    width: 31.25rem;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    max-width: 100%;
}

.gridlayout-item {
    font-size: 1.2em;
    font-weight: 500;
    text-align: center;
    height: 100%;
    text-align: center;
    position: relative;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gridlayout-body {
    font-size: 1.2em;
    font-weight: 500;
    text-align: center;
    height: 100%;
    text-align: center;
    z-index: 0;
    align-items: center;
    justify-content: center;
    background-color: #f3f4f6;
    height: calc(100vh - 100px);
    /* Adjust based on header/footer height */
    overflow-y: auto;
}

.gridlayout-item:before {
    content: " ";
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    opacity: 0.4;
}

.gridlayout-content:before {
    background-color: #f3f4f6;
}

.gridlayout-left-side-bar:before {
    background-color: var(--bs-green);
}

.gridlayout-right-side-bar:before {
    background-color: var(--bs-info);
}

.gridlayout-footer:before {
    background-color: var(--bs-blue);
    opacity: 0.5;
}

/* ===== RESPONSIVE STYLES ===== */

/* Mobile responsive styles */
@media (max-width: 575.98px) {
    .gridlayout-item {
        font-size: 0.9em;
    }

    /* Mobile typography */
    .title-header-text {
        font-size: 2rem;
        line-height: 2.5rem;
    }

    .title-content-text {
        font-size: 1.5rem;
        line-height: 2rem;
    }

    /* Touch-friendly buttons */
    .btn {
        min-height: 44px;
        padding: 0.5rem 1rem;
    }
}

/* Tablet responsive styles */
@media (min-width: 576px) and (max-width: 991.98px) {
    .gridlayout-item {
        font-size: 1em;
    }

    .title-header-text {
        font-size: 2.25rem;
        line-height: 2.75rem;
    }
}

/* Desktop responsive styles */
@media (min-width: 992px) {
    .gridlayout-item {
        font-size: 1.2em;
    }
}

/* Responsive utilities */
.responsive-padding {
    padding: 0.5rem;
}

@media (min-width: 768px) {
    .responsive-padding {
        padding: 1rem;
    }
}

@media (min-width: 992px) {
    .responsive-padding {
        padding: 1.5rem;
    }
}

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}

.ch-480 {
    min-height: 480px;
}