/*# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3VzdG9tLmNzcyIsInNvdXJjZXMiOlsiY3VzdG9tLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9 */

/*# sourceMappingURL=custom.css.map */

.switch {
    position: relative;
    display: inline-block;
    width: 55px;
    height: 28px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

input:checked + .slider {
    background-color: #156779;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2515b6;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.carousel-img {
    width: 300px;
    height: 100%;
    max-height: 410px;
    margin: 0 auto;
}

.image-size {
    width: inherit;
    height: inherit;
    max-width: -webkit-fill-available;
    max-height: -webkit-fill-available;
    height: 400px;
    object-fit: contain;
}
#image-place {
    height: 400px;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
    background-color: #6777ef !important;
    height: 40px;
    width: 40px;
    padding: 20px 20px;
    background-size: 20px;
    border-radius: 50%;
}

table {
    font-size: 13px !important;
}

.main-sidebar .sidebar-brand a.perinkle-sidebar-brand {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 70px !important;
    line-height: 70px !important;
    padding: 0 !important;
    text-decoration: none !important;
    overflow: hidden;
}

.main-sidebar .sidebar-brand a.perinkle-sidebar-brand .perinkle-admin-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border-radius: 11px;
    background: linear-gradient(135deg, #fff7f1 0%, #efe6ff 100%);
    border: 1px solid rgba(189, 127, 25, 0.32);
    color: #7e56c5;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(126, 86, 197, 0.12);
}

.main-sidebar .sidebar-brand a.perinkle-sidebar-brand .logo-name {
    color: #155d6c !important;
    font-size: 22px !important;
    line-height: 70px !important;
    letter-spacing: 0 !important;
    font-weight: 800 !important;
    text-transform: none !important;
}

.sidebar-menu {
    max-height: calc(100vh - 90px);
    overflow-y: auto;
}

/* Perinkle admin global polish */
:root {
    --pa-ink: #1f1a2b;
    --pa-muted: #736d83;
    --pa-surface: #fffaf7;
    --pa-panel: #ffffff;
    --pa-line: #eee6df;
    --pa-violet: #7a57c8;
    --pa-violet-soft: #f3eeff;
    --pa-peach: #e8897f;
    --pa-brand: #156779;
}

body {
    background: radial-gradient(circle at top right, #fff4ee 0%, #fffaf7 38%, #ffffff 100%) fixed;
    color: var(--pa-ink);
}

.navbar-bg {
    background: linear-gradient(90deg, #fff7f3 0%, #f9f3ff 60%, #fff 100%);
    border-bottom: 1px solid var(--pa-line);
}

.main-navbar {
    border-bottom: 1px solid var(--pa-line);
    box-shadow: 0 8px 20px rgba(37, 30, 53, 0.05);
}

.main-navbar .collapse-btn {
    border-radius: 10px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.main-navbar .collapse-btn:hover {
    background: var(--pa-violet-soft);
    color: var(--pa-violet);
}

.main-sidebar {
    background: linear-gradient(180deg, #fffdfb 0%, #fff6f2 45%, #fff 100%);
    border-right: 1px solid var(--pa-line);
}

.sidebar-menu {
    padding: 6px 8px 54px;
}

.sidebar-menu li {
    margin: 4px 0 !important;
    border-radius: 10px !important;
}

.sidebar-menu li a {
    border-radius: 10px !important;
    padding: 11px 12px !important;
    color: #3c3550 !important;
    font-weight: 600;
    transition: all 0.2s ease;
}

.sidebar-menu li a i {
    color: #8a809f !important;
    width: 22px;
    text-align: center;
    transition: color 0.2s ease;
}

.sidebar-menu li a:hover {
    background: var(--pa-violet-soft) !important;
    color: var(--pa-violet) !important;
}

.sidebar-menu li a:hover i,
.sidebar-menu li a:hover span {
    color: var(--pa-violet) !important;
}

.activeLi,
.sidebar-menu li.active,
.sidebar-menu li.active > a,
.sidebar-menu li .active {
    background: linear-gradient(135deg, #e8897f 0%, #7a57c8 100%) !important;
    border-radius: 10px !important;
    color: #fff !important;
}

.activeLi a,
.sidebar-menu li.active > a,
.sidebar-menu li.active > a span,
.sidebar-menu li.active > a i,
.activeLi a i,
.activeLi a span {
    color: #fff !important;
}

.sidebar-menu .menu-header {
    margin: 14px 8px 6px;
    color: var(--pa-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.main-content {
    padding-top: 94px;
}

.section .section-header {
    border: 1px solid var(--pa-line);
    border-radius: 14px;
    background: var(--pa-panel);
    box-shadow: 0 6px 16px rgba(37, 30, 53, 0.04);
}

.card,
.table,
.section .section-body .card {
    border: 1px solid var(--pa-line) !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 18px rgba(37, 30, 53, 0.04) !important;
    background: var(--pa-panel) !important;
}

.card .card-header {
    border-bottom: 1px solid #f4ece6;
}

.card .card-header h4 {
    font-weight: 700;
    color: var(--pa-ink);
}

table.dataTable thead th {
    background: #fff7f2;
    color: #4a415e;
    border-bottom: 1px solid var(--pa-line) !important;
    font-size: 12px;
    letter-spacing: 0.02em;
}

table.dataTable tbody td {
    font-size: 13px;
    color: #312a44;
}

.form-control,
.custom-select,
select,
textarea {
    border-radius: 10px !important;
    border: 1px solid #e8ddd4 !important;
}

.form-control:focus,
.custom-select:focus,
select:focus,
textarea:focus {
    border-color: #c2b2ea !important;
    box-shadow: 0 0 0 0.2rem rgba(122, 87, 200, 0.14) !important;
}

.btn-primary {
    border: none !important;
    background: linear-gradient(135deg, #e8897f 0%, #7a57c8 100%) !important;
    box-shadow: 0 8px 18px rgba(122, 87, 200, 0.24);
}

.btn-primary:hover,
.btn-primary:focus {
    filter: brightness(0.98);
}

.dropdown-menu {
    border: 1px solid var(--pa-line);
    border-radius: 12px;
    box-shadow: 0 10px 26px rgba(30, 22, 46, 0.09);
}

.perinkle-logout-trigger {
    border: 1px solid #ecdeda;
    background: #fff;
    color: #4a415e;
    border-radius: 999px;
    padding: 6px 14px;
    font-weight: 700;
}

.perinkle-logout-trigger:hover {
    background: #fff4ef;
    color: #7a57c8;
}

@media (max-width: 991.98px) {
    .main-content {
        padding-top: 82px;
    }

    .main-navbar {
        padding-left: 10px;
        padding-right: 10px;
    }

    .section .section-header {
        padding: 14px 16px;
        margin-bottom: 14px;
    }

    .card,
    .table {
        border-radius: 12px !important;
    }

    table.dataTable th,
    table.dataTable td {
        white-space: normal !important;
    }
}

