﻿

.portlet {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,.08);
    margin-top: 75px;
    margin-bottom: 25px;
    overflow: hidden;
    height: calc(100vh - 90px);
    display: flex;
    flex-direction: column;
}
/*.portlet {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,.08);
    margin-bottom: 25px;
    overflow: hidden;
    transition: .3s;
    height: calc(90vh);
    margin-top: 75px;
}*/

    .portlet:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0,0,0,.12);
    }

.portlet-header {
    padding: 14px 20px;
    /*background: linear-gradient(90deg, #071d3a 0%, #0d2d57 60%, #1976D2 100%);*/
    background: #071d3a;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #1976D2;
}

.portlet-title {
    font-size: 18px;
    font-weight: 600;
}

.portlet-tools i {
    cursor: pointer;
    margin-left: 12px;
}

.portlet-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px;
}

.portlet-footer {
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 8px 15px;
    min-height: 55px;
    flex-shrink: 0;
}
.panel-custom {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
}
.portlet-footer {
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 10px 20px; /* Equal top & bottom padding */
    min-height: 60px;
    flex-shrink: 0;
}
    .portlet-footer > * {
        margin: 0 !important;
    }

    .portlet-footer .action-buttons {
        display: flex;
        gap: 12px;
        align-items: center;
    }
.panel-header {
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    flex-shrink: 0;
}

    .panel-header i {
        color: #0d6efd;
        margin-right: 8px;

    }

.panel-body {
    flex: 1;
    overflow: auto;
    padding: 20px;
}
.input-sm {
    height: 32px !important;
    min-height: 32px;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 4px;
}
/*=========================
    Split Button
==========================*/

.btn-split {
    display: inline-flex;
    align-items: center;
    padding: 0;
    border: none;
    border-radius: 4px;
    overflow: hidden;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: .25s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
}

    .btn-split:hover {
        color: #fff;
        transform: translateY(-1px);
        box-shadow: 0 4px 10px rgba(0,0,0,.20);
    }

    .btn-split .btn-icon {
        width: 42px;
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 15px;
    }

    .btn-split .btn-text {
        padding: 0 18px;
        line-height: 40px;
        white-space: nowrap;
    }
/* Primary */
.btn-primary-custom {
    background: #0dcaf0;
}

    .btn-primary-custom .btn-icon {
        background: #08a9c8;
    }

/* Success */
.btn-success-custom {
    background: #28a745;
}

    .btn-success-custom .btn-icon {
        background: #1e7e34;
    }

/* Warning */
.btn-warning-custom {
    background: #f0ad4e;
}

    .btn-warning-custom .btn-icon {
        background: #d9901c;
    }

/* Danger */
.btn-danger-custom {
    background: #dc3545;
}

    .btn-danger-custom .btn-icon {
        background: #b52a37;
    }

/* Info */
.btn-info-custom {
    background: #17a2b8;
}

    .btn-info-custom .btn-icon {
        background: #117a8b;
    }

/* Secondary */
.btn-secondary-custom {
    background: #6c757d;
}

    .btn-secondary-custom .btn-icon {
        background: #545b62;
    }
body {
    background: #edf2f7;
    min-height: 100vh;
    font-family: 'Segoe UI',sans-serif;
}

.card {
    background: #ffffff;
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
}

.card-header {
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 18px 25px;
    border-radius: 15px 15px 0 0 !important;
}

    .card-header h5 {
        color: #0F4C81;
        font-weight: 600;
    }

.form-label {
    font-weight: 600;
    margin-bottom: .35rem;
}

.form-control,
.form-select {
    height: 45px;
    border-radius: 8px;
    border: 1px solid #ced4da;
}

    .form-control:focus,
    .form-select:focus {
        border-color: #2563EB;
        box-shadow: 0 0 0 .15rem rgba(37,99,235,.15);
    }

textarea.form-control {
    height: auto;
}

.card-footer {
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
    padding: 18px 25px;
}

.input-sm {
    height: 32px !important;
    min-height: 32px;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 4px;
}

textarea.input-sm {
    height: auto !important;
}

select.input-sm {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.pageHeader {
    background: linear-gradient(90deg,#0F4C81,#2563EB);
    color: white;
    padding: 15px 25px;
    border-radius: 12px;
    margin-bottom: 18px;
    box-shadow: 0 8px 20px rgba(0,0,0,.15);
}

    .pageHeader h3 {
        margin: 0;
        font-weight: 600;
    }

    .pageHeader small {
        opacity: .85;
    }

.notify-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    margin-top: 10px;
}

.notify-success {
    background: #d1f7dc;
    color: #146c43;
    border-left: 5px solid #198754;
}

.notify-error {
    background: #fde2e1;
    color: #b02a37;
    border-left: 5px solid #dc3545;
}

.notify-warning {
    background: #fff3cd;
    color: #856404;
    border-left: 5px solid #ffc107;
}

.notify-info {
    background: #dbeefe;
    color: #055160;
    border-left: 5px solid #0dcaf0;
}

.notify-box i {
    font-size: 22px;
}

.message-area {
    min-height: 50px;
}

    .message-area .alert {
        margin-bottom: 0;
        height: 50px;
        display: flex;
        align-items: center;
    }

.btnBackLogin {
    background: #ffffff;
    color: #0d6efd;
    border: 2px solid #ffffff;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 30px;
    transition: all .3s ease;
}

    .btnBackLogin:hover {
        background: transparent;
        color: #ffffff;
        border-color: #ffffff;
    }

dl, ol, ul {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
.portlet-body::-webkit-scrollbar {
    width: 8px;
}

.portlet-body::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.portlet-body::-webkit-scrollbar-thumb {
    background: #b0b0b0;
    border-radius: 10px;
}

    .portlet-body::-webkit-scrollbar-thumb:hover {
        background: #808080;
    }

.action-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    min-width: 190px;
    padding: 0 20px;
    margin: 0; /* Remove any extra margin */
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
}

    .btn-action:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 18px rgba(0,0,0,.25);
    }

    .btn-action i {
        font-size: 16px;
        line-height: 1;
    }
.btn-success {
    background: #198754;
    border-color: #198754;
}

.btn-warning {
    background: #ffc107;
    border-color: #ffc107;
    color: #212529;
}

.btn-primary {
    background: #0d6efd;
    border-color: #0d6efd;
}