.signin-page {
    min-height: 100vh;
    background: #428bca url('/images/photos/media7.png') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
}

.signin-page::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 0;
}

.signin-container {
    width: 100%;
    max-width: 550px;
    position: relative;
    z-index: 1;
}

.panel-signin {
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    border: none;
    margin: 0;
    background: #fff;
}

.panel-signin .panel-body {
    padding: 30px 40px 20px;
}

.signin-logo-row {
    margin-bottom: 10px;
}

.signin-logo-ariston {
    float: left;
    max-height: 48px;
    width: auto;
}

.signin-logo-racold {
    float: right;
    max-height: 52px;
    width: auto;
}

.signin-logo-center {
    clear: both;
    padding: 10px 0 5px;
}

.signin-logo-econnect {
    max-width: 280px;
    width: 100%;
    height: auto;
}

.signin-subtitle {
    margin: 10px 0 20px;
    color: #666;
}

.signin-alt-link {
    margin-top: 16px;
    margin-bottom: 0;
}

.signin-panel-footer {
    min-height: 12px;
    background: #f7f7f7;
    border-top: 1px solid #e5e5e5;
    padding: 8px 40px;
}

.signin-actions {
    margin-top: 8px;
}

.remember-me {
    font-weight: normal;
    margin: 8px 0 0;
}

.hrms-user-label {
    margin-right: 12px;
    line-height: 34px;
}

.hrms-page-title {
    margin: 0 0 15px;
    font-size: 22px;
    font-weight: 600;
}

/* Shell page header — spacing, alignment, typography */
.mainpanel .pageheader {
    height: auto;
    min-height: 72px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
}

.mainpanel .pageheader .media {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    margin: 0;
    overflow: visible;
}

.mainpanel .pageheader .pageicon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    margin: 0;
    font-size: 22px;
    line-height: 1;
}

.mainpanel .pageheader .pageicon .fa {
    line-height: 1;
    margin: 0 !important;
}

.mainpanel .pageheader .media-body {
    flex: 1;
    min-width: 0;
    width: auto;
    overflow: visible;
}

.mainpanel .pageheader .breadcrumb {
    margin: 0 0 6px;
    padding: 0;
    font-size: 12px;
    line-height: 1.4;
    color: #8a9199;
}

.mainpanel .pageheader .breadcrumb > li + li:before {
    padding: 0 6px;
    color: #c5c9ce;
}

.mainpanel .pageheader .breadcrumb li a {
    color: #6b7280;
}

.mainpanel .pageheader .breadcrumb li a:hover,
.mainpanel .pageheader .breadcrumb li a:focus {
    color: #428bca;
    text-decoration: none;
}

.mainpanel .pageheader .breadcrumb .active,
.mainpanel .pageheader .breadcrumb li:last-child {
    color: #8a9199;
}

.mainpanel .pageheader h4,
.mainpanel .pageheader #pageTitle,
.mainpanel .pageheader .hrms-page-title {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    color: #2f363d;
}

/* Pages that still use a plain title without the media block */
.mainpanel .pageheader > .hrms-page-title,
.mainpanel .pageheader > h1 {
    margin: 0;
}

.hrms-nav-card {
    margin-bottom: 20px;
}

.hrms-nav-card .list-group-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-tabs > li.hrms-hidden {
    display: none !important;
}

.hrms-hidden {
    display: none !important;
}

.asterisk {
    color: #d9534f;
}

.hrms-alert-fixed {
    position: fixed;
    top: 70px;
    right: 20px;
    z-index: 2000;
    min-width: 280px;
    max-width: 420px;
}

#employeeWizard .tab-pane {
    min-height: 320px;
}

.img-profile {
    max-width: 225px;
    margin: 0 auto 15px;
    border: 3px solid #eee;
}

.hrms-module-nav {
    margin-bottom: 20px;
}

.hrms-module-nav > li > a,
.hrms-employees-nav > li > a {
    border-radius: 4px;
}

.hrms-module-hub .list-group-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hrms-emp-thumb {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.hrms-detail-grid dt {
    font-weight: 600;
    margin-top: 8px;
}

.hrms-detail-grid dd {
    margin-left: 0;
    margin-bottom: 4px;
}

.table-actions img {
    width: 20px;
    cursor: pointer;
}

.upload-summary {
    max-height: 240px;
    overflow-y: auto;
}

.hrms-brand-header {
    /* background: linear-gradient(to right, #f0ad4e, #ec971f) !important; */
    background: linear-gradient(to right, #4eb2f0, #1fabec) !important;
}

    .hrms-brand-header .header-left {
        /*    background-color: rgba(0, 0, 0, 0.06);*/
        background-color: #4eb2f0;
    }

.hrms-header-logo {
    height: 42px;
    width: auto;
    max-width: 160px;
}

.hrms-brand-header .header-right .btn-group > .btn {
    background-color: rgba(255, 255, 255, 0.25);
    color: #fff;
    border: 0;
}

.hrms-brand-header .header-right .btn-group > .btn:hover,
.hrms-brand-header .header-right .btn-group > .btn:focus,
.hrms-brand-header .header-right .btn-group > .btn:active {
    background-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

.hrms-brand-header .header-left .menu-collapse {
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff;
}

.hrms-brand-header .header-left .menu-collapse:hover {
    border-color: #fff;
    color: #fff;
}

.leftpanel .profile-left .media-body {
    display: inline-block;
    vertical-align: top;
    margin-left: 10px;
    max-width: 140px;
}

.leftpanel .profile-left .media-heading {
    word-wrap: break-word;
}

.hrms-event-panel .panel-heading {
    background-color: #f7f7f7;
    border-bottom: 1px solid #eee;
}

.hrms-event-panel .panel-body {
    min-height: 60px;
}

.row-stat .panel-primary .panel-heading {
    background-color: #337ab7;
    color: #fff;
}

.hrms-stat-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.hrms-stat-link:hover,
.hrms-stat-link:focus {
    text-decoration: none;
    color: inherit;
}

.row-stat .panel-heading a {
    color: inherit;
}

.row-stat .panel-success-alt .panel-heading a:hover,
.row-stat .panel-primary .panel-heading a:hover,
.row-stat .panel-dark .panel-heading a:hover {
    color: #fff;
    text-decoration: underline;
}

.hrms-loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.55);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hrms-loading-spinner {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 16px 24px;
    font-size: 15px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.hrms-loading-spinner .fa {
    margin-right: 8px;
}

.hrms-stub-notice {
    border-left: 4px solid #f0ad4e;
}

.hrms-stub-notice .hrms-stub-title {
    font-weight: 600;
    margin-bottom: 8px;
}

.hrms-stub-panel.hrms-disabled {
    opacity: 0.65;
    pointer-events: none;
}

.hrms-label-na {
    background-color: #777;
}

.hrms-doc-toolbar {
    margin-bottom: 12px;
}

.hrms-doc-action {
    margin-right: 4px;
    margin-bottom: 2px;
}

.hrms-doc-tabs {
    margin-top: 10px;
}

.hrms-doc-view-dialog {
    width: 90%;
    max-width: 960px;
}

.hrms-doc-view-body {
    padding: 0;
    min-height: 420px;
}

.hrms-doc-view-frame {
    width: 100%;
    height: 70vh;
    min-height: 420px;
    border: 0;
    display: block;
}

.hrms-doc-view-fallback {
    padding: 32px 24px;
    text-align: center;
}

/* add expenses date validation*/
.input-validation-error {
    border-color: #dc3545 !important;
}

.line-date-error {
    display: block;
    margin-top: 4px;
    font-size: 12px;
}

/*==================================================
    EMPLOYEE FORM
==================================================*/

#employeeForm {
    background: #fff;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    padding: 30px;
}

    /*=============================================
    FORM ROW
=============================================*/

    #employeeForm .row {
        margin-bottom: 5px;
    }

    /*=============================================
    FORM GROUP
=============================================*/

    #employeeForm .form-group {
        margin-bottom: 18px;
    }

    /*=============================================
    LABEL
=============================================*/

    #employeeForm label {
        font-size: 14px;
        font-weight: 600;
        color: #3b4653;
        margin-bottom: 7px;
        display: block;
        line-height: 20px;
    }

    /*=============================================
    INPUT / SELECT / TEXTAREA
=============================================*/

    #employeeForm .form-control {
        height: 42px;
        border: 1px solid #ced4da;
        border-radius: 4px;
        font-size: 14px;
        color: #444;
        background: #fff;
        box-shadow: none;
        transition: all .25s ease;
    }

    #employeeForm textarea.form-control {
        min-height: 90px;
        resize: vertical;
    }

    /*=============================================
    PLACEHOLDER
=============================================*/

    #employeeForm .form-control::placeholder {
        color: #999;
        font-size: 13px;
    }

    /*=============================================
    FOCUS
=============================================*/

    #employeeForm .form-control:focus {
        border-color: #0b79d0;
        box-shadow: 0 0 6px rgba(11,121,208,.18);
    }

    /*=============================================
    SELECT BOX
=============================================*/

    #employeeForm select.form-control {
        cursor: pointer;
        background-color: #fff;
    }

    /*=============================================
    INPUT GROUP (DATE PICKER)
=============================================*/

    #employeeForm .input-group-addon {
        background: #f5f5f5;
        border-color: #ced4da;
        color: #666;
    }

    #employeeForm .input-group .form-control {
        border-left: 0;
    }

    /*=============================================
    READONLY
=============================================*/

    #employeeForm .form-control[readonly],
    #employeeForm .form-control:disabled {
        background: #f8f9fa;
        cursor: not-allowed;
    }

    /*=============================================
    REQUIRED LABEL
=============================================*/

    #employeeForm label::after {
        color: #dc3545;
    }

/*=============================================
    PANEL BODY
=============================================*/

#employeeWizard .panel-body {
    padding: 25px 30px;
}

/*=============================================
    RESPONSIVE
=============================================*/

@media (max-width:768px) {

    #employeeForm {
        padding: 20px;
    }

        #employeeForm label {
            margin-top: 10px;
        }

        #employeeForm .form-control {
            height: 40px;
        }
}