@tailwind base;
@tailwind components;
@tailwind utilities;

body, * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'nrt-reg';
}
@font-face {
    font-family: 'nrt-reg';
    src: url('../fonts/nrt-reg.ttf') format('truetype');
}

.k-form > *:not(.k-hidden):first-child, .k-form > *.k-hidden + :not(.k-hidden) {
    margin-top: 1rem !important;
}
.dxbl-toolbar.dxbl-toolbar-adaptive {
    direction: ltr;
}
.ripple-btn {
    position: relative;
    overflow: hidden;
}
.k-table-row.k-master-row .k-table-td.k-hierarchy-cell .telerik-blazor.k-icon.k-svg-icon.k-svg-i-plus,
.k-table-row.k-master-row .k-table-td.k-hierarchy-cell .telerik-blazor.k-icon.k-svg-icon.k-svg-i-minus {
    width: 20px;
}
.ripple {
    position: absolute;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    outline: none;
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.tool-modal-form .k-d-grid {
    display: flex !important;
    justify-content: start;
    flex-wrap: wrap;
}

.tool-modal-form .k-form-field {
    min-width: 200px;
    flex: 1;
}

    .tool-modal-form .k-form-field .k-label.k-form-label {
        margin-bottom: 0px !important;
    }

.custom-gradient {
    background-image: linear-gradient(93.2deg, rgba(24, 95, 246, 1) 14.4%, rgba(27, 69, 166, 1) 90.8%);
    overflow: hidden;
}

.custom-gradient3 {
    position: relative;
    background-color: white; /* Initial white background */
    transition: background-color 0.3s ease-out;
    overflow: hidden; /* Ensure pseudo-element stays within bounds */
}

    .custom-gradient3::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle farthest-corner at 10% 20%, rgba(0,160,187,1) 0%, rgba(0,188,219,0.90) 90%);
        opacity: 0; /* Initially invisible */
        transition: opacity 0.3s ease-out;
        z-index: -1; /* Send behind content */
    }

    .custom-gradient3:hover {
        background-color: white;
    }

        .custom-gradient3:hover h3 {
            color: white;
        }

        .custom-gradient3:hover p {
            color: #ededed;
        }

        .custom-gradient3:hover::before {
            opacity: 1;
        }

    .custom-gradient3:hover {
        background: radial-gradient(circle farthest-corner at 10% 20%, rgba(0,160,187,1) 0%, rgba(0,188,219,0.90) 90%);
    }

.custom-shape::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 50px;
    background-color: white;
    transform: rotateZ(25deg);
    top: -.5rem;
    right: -3rem;
    z-index: 0;
}

.MyTelerikNotification {
    z-index: 11000 !important;
}

    .MyTelerikNotification .k-notification {
        width: 250px;
        z-index: 11000 !important;
        height: 40px;
    }

    .MyTelerikNotification .k-notification,
    .MyTelerikNotification .k-notification-content {
        font-family: ToolShop4;
        font-size: .9em !important;
        text-align: center;
    }
/* overlay */
.initial-data-loader .k-loader-container-overlay.k-overlay-light {
    background-color: white;
    width: 100%;
    height: 100%;
}

/* panel */
.initial-data-loader .k-loader-container-panel {
}

/* animation */
.initial-data-loader .k-loader {
}

/* text */
.initial-data-loader .k-loader-container-label {
    font-weight: bold;
}

.initial-data-loader .k-loader-container-overlay.k-overlay-light {
}

.k-grid.Grid1 .k-table-th {
    font-size: 14px !important;
    padding: 6px 6px;
    text-align: center !important;
    justify-content: center;
}

.k-grid.Grid1 .k-table-td {
    text-align: center !important;
    font-size: 13px !important;
    justify-content: center;
}

.k-grid.Grid1 .k-table-th {
    text-align: center !important;
    justify-content: center;
}

.k-grid.Grid1 .k-table-td {
    text-align: center !important;
    justify-content: center;
}

    .k-grid.Grid1 .k-table-td:last-child {
        padding: 9px;
    }

.tool-modal {
    min-width: 300px;
    max-width: 1200px;
    min-height: 400px;
}

    .tool-modal.large-m {
        min-width: 1200px !important;
        max-width: 1200px !important;
        min-height: 200px;
        max-height: 650px;
    }

    .tool-modal.medium-m {
        min-width: 800px !important;
        max-width: 800px !important;
        min-height: 200px;
        max-height: 650px;
    }

    .tool-modal .k-dialog-wrapper {
        z-index: 50 !important;
    }

.tool-modal-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.tool-modal-form {
    display: flex;
    font-family: ToolShop4;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

    .tool-modal-form lebel {
    }

.k-form-label {
    font-size: 13px !important;
}

.tool-modal-form .tool-res-form {
    width: 95%;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: ToolShop4;
    flex-wrap: wrap;
    justify-content: start;
    padding: 1rem;
    direction: rtl;
}

.tool-modal-form-head {
    display: flex;
    justify-content: right;
    align-items: center;
    gap: 1rem;
    width: 100%;
    flex-wrap: wrap;
    padding: 0 0 1rem;
}

.tool-modal-form .k-form-field {
    font-size: 13px !important;
}

.edu-res-form {
    width: 95%;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: start;
    padding: 1rem;
    direction: rtl;
}

.tool-modal-form .tool-res-form {
    width: 95%;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: ToolShop4;
    flex-wrap: wrap;
    justify-content: start;
    padding: 1rem;
    direction: rtl;
}

.tool-modal-form {
    display: flex;
    font-family: ToolShop4;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

    .tool-modal-form lebel {
    }

.k-form-label {
    font-size: 13px !important;
}

.tool-modal-form .tool-res-form {
    width: 95%;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: ToolShop4;
    flex-wrap: wrap;
    justify-content: start;
    padding: 1rem;
    direction: rtl;
}

.tool-modal-form .k-form-field {
    font-size: 13px !important;
}

@font-face {
    font-family: "nrtreg";
    src: url(fonts/NRT-Reg.ttf);
}

.main {
    min-height: 89.5vh;
}

.conicbg {
    backdrop-filter: blur(3px) opacity(.4);
}

@media only screen and (max-width: 800px) {
    body {
        background-size: 120% 350px;
    }
}

@media (max-width: 768px) {
    .tool-modal {
        width: 95% !important;
        height: 95% !important;
    }

        .tool-modal.large-m {
            min-width: unset !important;
            max-width: unset !important;
            min-height: unset !important;
            max-height: unset !important;
        }

        .tool-modal.medium-m {
            min-width: unset !important;
            max-width: unset !important;
            min-height: unset !important;
            max-height: unset !important;
        }

    .pos-body .Grid1.k-grid {
        min-width: 1050px;
    }

    .tool-modal-form .tool-res-form .k-form-field {
        width: 100%;
    }



    .tool-form1 .k-form-field {
    }

    .tool-modal-form .tool-res-form .k-form-field {
        width: 100%;
    }

    .tool-form1.form-modal {
        width: 100%;
        height: 90%;
    }

    .tool-form1.form-modal {
        width: 100%;
        height: 90%;
    }

    .tool-form1 .k-d-grid {
        display: unset;
    }
}
