﻿:root {
    --mia-color: #1F4397;
    --mia-color-light: #e6f0ff;
    --mia-color-alternative: #1F4397;
    --mia-lightBlue-color: #EFF7FF;
    --mia-delete-color: #D90033;
    --mia-delete-hover-color: #A10026;
    --mia-info-color: #F5AA1C;
    --mia-info-hover-color: #d49419;
    --mia-cancel-color: #EFF9FF;
    --mia-cancel-hover-color: #DEF2FF;
    --mia-approve-color: #1D9301;
    --mia-checked-color: #3989F8;
    --mia-orange-color: #EC7C30;
    --mia-table-header-color: #1F4397;
    --mia-txt-black: rgba(0, 0, 0, 1);
    --mia-txt-blue: #1F4397;
    --mia-txt-darkBlue: #344054;
    --mia-txt-white: #E8E6E3;
    --mia-txt-orange: #EC7C30;
    --mia-change-password: #2ABFBF;
    --mia-change-password-hover: #4B9090;
}

/*html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}*/


a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

/*.valid.modified:not([type=checkbox]) {*/
/*    outline: 1px solid #26b050;*/
/*}*/

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFB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Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.mud-select-input {
    /*width: 100% !important;*/
    white-space: normal !important;
    word-break: break-word !important;
    height: auto !important
}

#loader-container {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    z-index: 1000000;
    opacity: .8;
    background: #eaebec;
}

.loader {
    position: absolute;
    z-index: 10000;
    top: 50%;
    left: 50%;
    width: 50px;
    padding: 8px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #0819fb;
    --_m: conic-gradient(#0000 10%, #000), linear-gradient(#000 0 0) content-box;
    -webkit-mask: var(--_m);
    mask: var(--_m);
    -webkit-mask-composite: source-out;
    mask-composite: subtract;
    animation: l3 1s infinite linear;
}

@keyframes l3 {
    to {
        transform: rotate(1turn)
    }
}

.text-mia-color {
    color: var(--mia-color) !important;
}

.custom-control-label {
    font-weight: 500 !important;
    font-size: .8rem !important;
}

.permission-table td {
    border-bottom: solid #E9EDF5 1px;
    padding: 15px 10px;
    border-top: none;
    border-left: none;
    border-right: none;
}

.mia-mini-btn {
    padding: 5px;
    background: var(--mia-color);
    color: #fff;
    border-radius: 6px;
    transition: all .5s ease-in-out;
}

    .mia-mini-btn:hover {
        filter: brightness(80%);
        /*        background: var(--mia-color-alternative) !important;*/
    }

.mia-btn-delete {
    background: var(--mia-delete-color) !important;
}

.mia-btn-approve {
    background: var(--mia-approve-color) !important;
}

.mia-btn-checked {
    background: var(--mia-checked-color) !important;
}

.mia-btn-outlined {
    background: transparent !important;
    border: 1px solid var(--mia-color) !important;
    color: var(--mia-txt-darkBlue) !important;
}

.mia-btn-orange-outlined {
    background: transparent !important;
    border: 1px solid var(--mia-orange-color) !important;
    color: var(--mia-txt-orange) !important;
}

.mia-btn-confirm {
    color: white;
    background: var(--mia-color) !important;
}

.mia-btn-info {
    background: var(--mia-info-color) !important;
}

.mia-btn-lightBlue {
    background: var(--mia-lightBlue-color) !important;
    color: var(--mia-color) !important;
}

.mia-btn-delete:hover {
    background: var(--mia-delete-hover-color) !important;
}

.mia-btn-info:hover {
    background: var(--mia-info-hover-color) !important;
}

.mia-btn {
    background: var(--mia-color);
    color: #fff;
    border-radius: 8px;
    padding: 8px 10px;
    min-width: 100px;
    transition: all .5s ease-in-out;
    text-align: center;
    cursor: pointer
}

    .mia-btn:hover {
        filter: brightness(80%);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    .mia-btn:disabled {
        opacity: 0.6;
        filter: grayscale(40%) brightness(90%);
        cursor: not-allowed;
        box-shadow: none;
        transform: none;
    }

.mia-page-title {
    color: var(--mia-txt-blue) !important;
    font-weight: 500 !important;
    font-size: 20px !important;
}

.mia-modal-content {
    border-radius: .5rem;
}

.mia-modal-title {
    color: var(--mia-color) !important;
    font-size: 16px !important;
}

    .mia-modal-title.warning {
        color: var(--mia-info-color) !important;
    }

    .mia-modal-title.error {
        color: var(--mia-delete-color) !important;
    }

.mia-btn-cancel {
    background: var(--mia-cancel-color) !important;
    color: var(--mia-txt-darkBlue);
}

    .mia-btn-cancel:hover {
        background: var(--mia-cancel-hover-color) !important;
    }

.mia-change-password {
    background: var(--mia-change-password) !important;
    &:hover

{
    background: var(--mia-change-password-hover) !important;
}

}

.mia-link-button {
    font-weight: 600;
    text-decoration: underline !important;
    cursor: pointer;
    justify-content: start !important;
}

    .mia-link-button:hover {
        text-decoration: none;
    }

.mia-icon-img {
    width: 20px;
}

/*.mia-btn:hover,
.mia-mini-btn {
    background: var(--mia-color-alternative);
}*/

.mud-table {
    border-radius: .5rem !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05) !important;
    padding: 1rem !important;
    .mud-table-toolbar

{
    padding: 0 !important;
}

}

/*own*/


.mia-dialog {
    width: 30% !important;
    border-radius: .5rem;
    box-shadow: 0 0 20px 5px rgba(5, 79, 125, .1) !important;
}

@media (max-width: 400px) {
    .mia-dialog {
        width: 80% !important;
    }
}

@media (max-width: 337px) {
    .mia-dialog {
        width: 90% !important;
    }
}

.mia-dialog .mud-dialog-content {
    margin: 0 !important;
    padding: 0 !important;
}

.mia-modal-content .confirm-footer {
    color: var(--mia-color) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    display: flex;
    justify-content: space-evenly !important;
}

.approval-setting .mud-table-head .mud-table-row .mud-table-cell,
.attendee-table thead tr th {
    background: var(--mia-color) !important;
    color: #fff;
}

.approval-setting .mud-table th,
.approval-setting .mud-table td {
    white-space: nowrap !important;
}

/*End Posco*/


/* Radzen form field label */

/* own */

.rz-form-field:not(.rz-floating-label) .rz-form-field-label {
    color: #2f2626;
}

label:not(.form-check-label):not(.custom-file-label) {
    font-weight: 400;
}

/*.mud-table-pagination-select .mud-input-control-input-container .mud-input {
    border: 1px solid gray !important;
    border-radius: 8px;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

    .mud-table-pagination-select .mud-input-control-input-container .mud-input .mud-input-slot {
        padding: 0px !important;
        margin: 0px !important;
        width: 25px !important;
        text-align: center;
    }

    .mud-table-pagination-select .mud-input-control-input-container .mud-input .mud-input-adornment {
        padding: 0px !important;
        margin: 0px !important;
        width: 16px !important;
    }

.mud-table-pagination-select .mud-select-input {
    margin-top: 0px !important;
    padding-top: 0px !important;
    padding: 0px !important;
}*/

/* Target the pager within your custom class */
.my-pager-class.mud-datagrid-pager {
    padding: 15px !important; /* Increase padding */
    border-top: 3px solid #ff9800; /* Orange line */
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

/* Target the text information part */
.my-pager-class .mud-datagrid-pager-info {
    font-size: 0.9rem;
    color: #4CAF50; /* Green text */
}

/* Target the navigation buttons */
.my-pager-class .mud-datagrid-pager-navigation .mud-button-root {
    min-width: 30px; /* Make buttons smaller */
    height: 30px;
}

/*.mud-table-pagination-spacer {
    display: none !important;
}*/

/* own */
/*Tabs*/
.mia-tab .content,
.mia-tab .row .col-12 {
    padding: 0 !important;
}

.mia-tab .mud-tab {
    color: var(--mia-color) !important;
}

.mia-tab .mud-tab-slider {
    background: var(--mia-color) !important;
}

.mia-tab .mud-tab.mud-tab-active {
    background: var(--mia-color) !important;
    color: #fff !important;
}


/*Custom Switch For Role&Permission Start*/
.custom-control-input {
    &:checked ~ .custom-control-label::before

{
    color: rgba(1, 85, 138, 1) !important;
    background: rgba(1, 85, 138, 1) !important;
    border: 1px solid rgba(1, 85, 138, 1) !important;
}

}

.text-title {
    color: rgb(5, 80, 125);
    font-family: "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
    font-size: 1.8rem;
    font-weight: bold;
}
/*Custom Switch For Role&Permission End*/


.culture-mud-grid {
    width: 170px;
    height: 40px;
}

@media (max-width: 480px) {
    .culture-mud-grid {
        width: 135px;
        height: 33px;
    }
}

.text-sm .content-header {
    padding: 20px .5rem 15px;
}

.header-back-btn {
    padding: 5px;
    background: #cbe4fa !important;
    border-radius: 6px;
    transition: all .5s ease-in-out;
}

    .header-back-btn:hover {
        background: var(--mia-color) !important;
    }

        .header-back-btn:hover .posco-icon-img {
            /* This filter property will turn the SVG white */
            filter: brightness(0) invert(1);
        }

@media (max-width: 580px) {
    .mud-table-toolbar {
        height: 100px !important;
    }
}

p,
span,
textarea {
    font-family: "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif !important;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif !important;
}

.mud-input-root {
    font-family: "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif !important;
    font-weight: 400 !important;
}

.mud-list-item-text p {
    font-family: "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif !important;
    font-weight: 400 !important;
}

.mud-table-row .mud-table-cell {
    font-weight: 400 !important;
    background: inherit !important;
}

.mud-table-head .mud-table-row .mud-table-cell span {
    font-weight: 500 !important;
}

th {
    font-weight: normal;
}

.badge {
    font-weight: normal;
}

.remark-text {
    display: inline-block;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 600px) {
    .mud-xs-table .mud-table-cell:before {
        content: attr(data-label);
        font-weight: 500;
        padding-right: 16px;
        padding-inline-end: 16px;
        padding-inline-start: unset;
        text-align: start !important;
        min-width: 130px;
    }
}

.report-detail-btn {
    padding: 0;
    color: #898f93;
}

    .report-detail-btn.mud-icon-button:hover {
        background: none !important;
        color: #01558A;
    }

.report-detail-popup {
    top: 150px !important;
}

.project-overview-title {
    font-family: "Malgun Gothic", sans-serif !important;
}

@media (min-width: 720px) {
    .project-overview-title {
        font-family: "Malgun Gothic", sans-serif !important;
        font-size: 2.5rem;
    }
}

.mud-table-striped .mud-table-container .mud-table-root .mud-table-body .mud-table-row {
    background-color: white !important;
}

@media(hover: hover)and (pointer: fine) {
    .mud-table-hover .mud-table-container .mud-table-root .mud-table-body .mud-table-row:hover {
        background-color: #e4e3e3 !important;
    }
}

.mud-table-striped .mud-table-container .mud-table-root .mud-table-body .mud-table-row:nth-of-type(odd) {
    background-color: #fdfdfd !important;
}

@media(hover: hover)and (pointer: fine) {
    .mud-table-hover.mud-table-striped .mud-table-container .mud-table-root .mud-table-body .mud-table-row:nth-of-type(odd):hover {
        background-color: #e4e3e3 !important;
    }
}

/* input */

/*.mia-date-picker {
    background-color: #f5f5f5 !important;
    padding: 6px !important;
    font-size: 14px !important;
}*/

input.no-outline-textfield {
    font-size: 13px;
    background-color: #f5f5f5;
    border: none;
    border-radius: 4px;
    padding: 8px;
    /*    width: 100% !important;*/
    box-sizing: border-box;
}

/*.mud-grid-item .mud-select .mud-input-control .mud-input-control-input-container .mud-input {
    font-size: 13px !important;
    background-color: #f5f5f5 !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 0px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    outline: none !important;
}*/

/* Default style (no background) */
.mud-grid-item .mud-select .mud-input-control .mud-input-control-input-container .mud-input {
    font-size: 13px !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 0px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    outline: none !important;
}

/* Add this class when you WANT background */
.with-bg .mud-input {
    background-color: #f5f5f5 !important;
}


.mud-grid-item .mud-select .mud-input-control .mud-input-control-input-container .mud-input-outlined {
}

.mud-switch {
    background-color: var(--mia-lightBlue-color) !important;
    padding-right: 7px;
}

/*registration form*/

/* Full Layout */
.blue-layout {
    width: 100%;
    background-color: var(--mia-color);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: start;
    /*    z-index: -1;*/
}

/* Gradient Image Positioning */
.gradient-image-container {
    justify-content: flex-start;
    align-items: flex-start;
    pointer-events: none;
    /*    z-index: -1;*/
}

/* Left panel */
.auth-left {
    width: 75%;
    justify-content: flex-start;
    align-items: flex-start;
}

/* Right panel */
.auth-right {
    width: 25%;
    height: 100vh; /* Ensures full height of the viewport */
    display: flex;
    background-color: var(--mia-color);
    /*background-size: cover;*/ /* Ensure the image covers the full height and width */
    /*    background-repeat: no-repeat;*/
    /*background-position: right top;*/ /* Align the image to the right */
    /*overflow: hidden;*/ /* Hide the overflowing part of the image */
}

/* Inner card */
.auth-inner {
    max-width: 420px;
}

/*.auth-form-container {
    top: 45%;
    transform: translate(-50%, -45%);
}*/

.auth-page-title {
    font-size: 25px !important;
    line-height: 1.2;
}

.link-orange-underline {
    color: var(--mia-txt-orange);
    text-decoration: underline;
}

.border-btn {
    position: relative;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 7px;
    border-top: 1px solid gray;
    border-left: 1px solid gray;
    border-bottom: 1px solid transparent;
    border-right: 1px solid transparent;
    /* Add a subtle box shadow to the element */
    box-shadow:
    /* Shadow for the bottom-right corner */
    2px 2px 5px rgba(0, 0, 0, 0.04),
    /* Subtle glow for the right border (optional, can be removed) */
    1px 0px 3px rgba(0, 0, 0, 0.04);
}

    .border-btn::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border-bottom: 1px solid gray;
        border-right: 1px solid gray;
        border-radius: 7px;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .border-btn:hover::after {
        opacity: 1;
    }

.invoice-card {
    width: 685px;
    background-color: var(--mia-color);
    margin 20px;
}

.invoice-card-inner {
    width: 500px;
    padding: 20px 20px;
    margin: 10px 10px;
    border-radius: 10px;
}

@font-face {
    font-family: 'Padauk';
    src: url('/assets/fonts/Padauk-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Pyidaungsu';
    src: url('/assets/fonts/Pyidaungsu-2.5.3_Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}


/*@font-face {
    font-family: 'Wavefont';
    src: url('/assets/fonts/Wavefont-VariableFont_ROND,YELA,wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
*/

input:not(.form-check-input),
textarea:not(.form-check-input) {
    background: #f0f3f6 !important;
    border: none !important;
}

input:not(.form-check-input):hover,
textarea:not(.form-check-input):hover {
    box-shadow: 0 4px 12px rgba(106, 127, 176, 0.35);
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
    -webkit-text-fill-color: inherit !important;
    caret-color: inherit;
    background-color: transparent !important;
    transition: background-color 9999s ease-out 0s;
}

input:-webkit-autofill:hover,
textarea:-webkit-autofill:hover {
    box-shadow: 0 4px 12px rgba(106, 127, 176, 0.35) !important;
}

/** Select 2  **/

.select2-container{
    background: #f0f3f6 !important;
    border: none !important;
    border-radius: .5rem !important;
}

.select2-container:hover {
    box-shadow: 0 4px 12px rgba(106, 127, 176, 0.35);
}

.light-style .select2-container--default .select2-selection {
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    background-color: rgba(0, 0, 0, 0);
     border: none !important; 
     border-radius: .5rem !important; 
}



/** Select 2  **/



.mud-table-head .mud-table-row .mud-table-cell:first-child {
     border-radius: 0.5rem 0 0 0 !important; 
}

.mud-table-head .mud-table-row .mud-table-cell:last-child {
    border-radius: 0 0.5rem 0 0 !important;
}

.mb-4 .mud-tab-slider.mud-tab-slider-horizontal {
    height: 0 !important;
}

.mud-dialog-width-full {

}