﻿.validation-message {
    color: #ff0000;
    font-size: 12px;
}

.imgLogo {
    width: 180px;
}

.loginWrapper {
    width: 100vw; /* 100% of viewport width */
    height: 100vh; /* 100% of viewport height */
}

.e-spinner-pane.e-spin-overlay {
    background-color: rgb(105, 105, 105);
}

#spinner-target {
    position: relative;
    height: 300px;
}

.fullscreen-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
}

    .fullscreen-spinner .e-spinner-pane {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }

.custom-spinner-text.e-spinner-pane .e-spinner-inner .e-spin-label {
    color: #C82D8C !important;
    font-size: 18px;
}

#modalMid {
    width: 300px;
    height: 300px;
}

#modalMax {
    width: 300px;
    height: 500px;
}

.e-grid .e-toolbar .e-tbar-btn-text {
    color: #C82D8C !important;
}

.e-grid .e-toolbar .e-btn .e-icons {
    color: #C82D8C !important;
}

.e-grid .e-toolbar .e-btn:hover {
    background-color: #7367F0 !important;
}

.e-grid .e-headercell .e-headertext {
    color: #7367f0 !important;
    text-transform: uppercase;
}

.e-grid .e-icon-filter::before {
    color: #7367f0 !important;
}

.e-grid .e-icon-filter.e-filtered::before {
    color: #7367F0 !important;
}

.e-grid .e-toolbar .e-search .e-input-group {
    border-color: #C82D8C !important;
}

    .e-grid .e-toolbar .e-search .e-input-group.e-input-focus {
        border-color: #ff0000 !important;
        box-shadow: 0 0 0 1px #ff0000 !important;
    }

    .e-grid .e-toolbar .e-search .e-input-group .e-input-group-icon {
        border-left-color: #C82D8C !important;
    }

.e-grid .e-pager .e-numericitem {
    color: #C82D8C !important;
}

.e-grid .e-pager .e-currentitem {
    border-color: #C82D8C !important;
}

.e-grid .e-pager .e-pager-default {
    color: #C82D8C !important;
}

.e-grid .e-pager .e-parentmsgbar {
    color: #C82D8C !important;
}

.e-btn.e-flat, .e-css.e-btn.e-flat {
    border-color: #C82D8C !important;
    color: #C82D8C !important;
}

.e-dlg-header, .e-dlg-header * {
    color: #7367f0 !important;
    font-size: 16px;
    font-weight: 500;
}

.e-checkbox-wrapper .e-frame.e-check, .e-css.e-checkbox-wrapper .e-frame.e-check {
    background-color: #7367F0 !important;
    border-color: #7367F0 !important;
    color: #fff;
}

.e-checkbox-wrapper .e-frame.e-stop, .e-css.e-checkbox-wrapper .e-frame.e-stop {
    background-color: #7367F0 !important;
    border-color: #7367F0 !important;
    color: #fff;
}

.e-icon-dlg-close {
    color: #C82D8C !important;
    border-color: none !important;
}

.e-toast-container {
    margin-top: 80px !important;
}

.no-gutters {
    margin-right: 0;
    margin-left: 0;
}

.no-gutters > .col,
.no-gutters > [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
}

/***** FORM LAYOUT 6 & 7 *****/
.form-layout-6 .row > div,
.form-layout-7 .row > div {
    border: 1px solid #ced4da;
    padding: 15px 20px;
}

    .form-layout-6 .row > div:first-child,
    .form-layout-7 .row > div:first-child {
        display: flex;
        align-items: center;
        background-color: #f8f9fa;
        border-right-width: 0;
        font-size: 12px;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

.form-layout-6 .row + .row > div,
.form-layout-7 .row + .row > div {
    border-top-width: 0;
}

.form-layout-6 .form-control, .form-layout-6 .dataTables_filter input, .dataTables_filter .form-layout-6 input,
.form-layout-7 .form-control,
.form-layout-7 .dataTables_filter input, .dataTables_filter
.form-layout-7 input {
    border: 0;
    border-radius: 0;
    padding: 0;
}

/***** FORM LAYOUT 7 *****/
.form-layout-7 .row > div:first-child {
    justify-content: flex-end;
}

/* ########### RTL SUPPORT ########## */
[dir="rtl"] .form-layout-2 {
    text-align: right;
}

[dir="rtl"] .form-layout-4 .form-control-label {
    text-align: right;
}

[dir="rtl"] .form-layout-6 .row > div:first-child,
[dir="rtl"] .form-layout-7 .row > div:first-child {
    border-right-width: 1px;
    border-left-width: 0;
}

.icon-wrapper svg {
    width: 32px;
    height: 32px;
    color: #0d6efd;
}

.container {
    min-height: 200px;
}

.btn-details .e-btn-icon {
    color: #17a2b8 !important;
}

/* Edit Icon - Orange/Warning */
.btn-edit .e-btn-icon {
    color: #ffc107 !important;
}


.btn-delete .e-btn-icon {
    color: #dc3545 !important;
}

.e-btn.e-flat:hover, .e-css.e-btn.e-flat:hover {
    background: #7367f0;
    border-color: #c82d8c;
    box-shadow: none;
    color: #fff;
}

.e-btn.e-flat:focus, .e-css.e-btn.e-flat:focus {
    background: #7367f0;
    border-color: #c82d8c;
    box-shadow: none;
    color: #fff;
}

.form-layout-6 .row > div, .form-layout-7 .row > div {
    color: #212529;
}

.e-richtexteditor {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Force the toolbar row inside to wrap or hide blowout icons */
.e-richtexteditor .e-rte-toolbar {
    max-width: 100% !important;
    overflow: hidden !important;
}

.rte-readonly-tag {
    background-color: #f3f4f6;
    border: 1px solid #d1d5db;
    padding: 2px 6px;
    border-radius: 4px;
    user-select: none; /* Prevents text selection highlighting inside the tag */
    cursor: not-allowed;
    color: #4b5563;
}

.animate-fade-in {
    animation: modalFadeIn 0.25s cubic-bezier(0.1, 0.8, 0.3, 1);
}

@("@keyframes") modalFadeIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

