@charset "utf-8";
/* CSS Document */

textarea{ resize:none !important;}
a:visited,a:focus {
    text-decoration:none;
}

.recruitment-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    margin-bottom: 20px;
    border-radius: 10px;
    border: 1px solid;
    font-size: .88rem;
    line-height: 1.45;
}

.recruitment-alert-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1rem;
}

.recruitment-alert-content {
    flex: 1;
}

.recruitment-alert-title {
    font-weight: 600;
    margin-bottom: 2px;
}

.recruitment-alert-message {
    font-size: .82rem;
}

.recruitment-alert-error {
    color: #842029;
    background: #fff5f5;
    border-color: #f5c2c7;
}

.recruitment-alert-error .recruitment-alert-icon {
    color: #dc3545;
    background: #ffe0e3;
}

.recruitment-alert-success {
    color: #146c43;
    background: #f1fbf6;
    border-color: #badbcc;
}

.recruitment-alert-success .recruitment-alert-icon {
    color: #198754;
    background: #d8f3e5;
}

/* =========================================================
   CHANGE PASSWORD
   ========================================================= */

.password-input-wrap {
	position:relative;
}

.password-input-wrap .form-control {
	padding-right:45px;
}

.password-toggle {
	position:absolute;
	right:10px;
	top:50%;
	transform:translateY(-50%);
	border:0;
	background:transparent;
	color:#777c96;
	width:32px;
	height:32px;
	display:flex;
	align-items:center;
	justify-content:center;
	cursor:pointer;
	border-radius:6px;
}

.password-toggle:hover {
	background:#f1f2f7;
	color:var(--navy);
}

.password-toggle i {
	font-size:1rem;
}

.password-toggle:focus {
	outline:none;
	box-shadow:none;
}


/* =========================================================
   LOGOUT CONFIRMATION MODAL
   ========================================================= */

.logout-modal {
	border:0;
	border-radius:18px;
	overflow:hidden;
	box-shadow:0 20px 60px rgba(20,25,55,.18);
}

.logout-modal .modal-body {
	padding:28px;
	text-align:center;
}

.logout-modal-icon {
	width:56px;
	height:56px;
	margin:0 auto 16px;
	border-radius:50%;
	display:flex;
	align-items:center;
	justify-content:center;
	background:#fff1ee;
	color:var(--coral);
	font-size:1.3rem;
}

.logout-modal-title {
	font-family:'Sora',sans-serif;
	font-size:1.05rem;
	font-weight:700;
	color:var(--navy);
}

.logout-modal-text {
	max-width:360px;
	margin:8px auto 22px;
	font-size:.8rem;
	line-height:1.6;
	color:#737995;
}

.logout-modal-actions {
	display:flex;
	gap:10px;
}

.btn-logout {
	background:var(--coral);
	border-color:var(--coral);
	color:#fff;
	font-weight:600;
}

.btn-logout:hover {
	background:var(--coral);
	border-color:var(--coral);
	color:#fff;
	opacity:.92;
}

@media (max-width:575px) {

	.logout-modal .modal-body {
		padding:22px;
	}

	.logout-modal-actions {
		flex-direction:column;
	}

}




/* =========================================================
   LOGOUT SUCCESS MESSAGE
   ========================================================= */

.logout-success-message {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 20px;
	padding: 14px 16px;
	border: 1px solid #ccefe5;
	border-radius: 10px;
	background: #f0fbf8;
	color: #166b5b;
}

.logout-success-icon {
	flex: 0 0 auto;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #d9f5ee;
	color: #20a98a;
	font-size: 15px;
}

.logout-success-title {
	margin-bottom: 2px;
	font-size: .82rem;
	font-weight: 700;
	color: #166b5b;
}

.logout-success-text {
	font-size: .76rem;
	line-height: 1.45;
	color: #4c7d72;
}


/* =========================================================
   SALARY BY AGE GROUP - STATIC HTML CHART
   ========================================================= */

.age-salary-chart {
    display: flex;
    height: 240px;
    width: 100%;
}

.age-chart-y {
    width: 55px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2px 8px 30px 0;
    font-size: 11px;
    color: #7d849d;
    text-align: right;
}

.age-chart-area {
    position: relative;
    flex: 1;
    height: 100%;
}

.age-chart-grid {
    position: absolute;
    inset: 0 0 30px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.age-chart-grid span {
    width: 100%;
    border-top: 1px solid #eceef4;
}

.age-chart-bars {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 30px;

    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    gap: 20px;
    padding: 0 20px;
}

.age-bar-group {
    height: 100%;
    flex: 1;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    position: relative;
}

.age-bar {
    width: 42px;
    max-width: 70%;
    min-height: 5px;

    background: #1e2347;
    border-radius: 6px 6px 0 0;

    position: relative;
    z-index: 2;
}

.age-label {
    position: absolute;
    bottom: -27px;
    font-size: 11px;
    color: #6f7690;
    white-space: nowrap;
}

@media (max-width: 576px) {

    .age-chart-bars {
        gap: 8px;
        padding: 0 5px;
    }

    .age-bar {
        width: 28px;
    }

    .age-chart-y {
        width: 48px;
        font-size: 10px;
    }

    .age-label {
        font-size: 9px;
    }
}


.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 68px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: .72rem;
    font-weight: 600;
    line-height: 1;
}

.status-active {
    background: #E8F7F3;
    color: #1FA88A;
}

.status-inactive {
    background: #FDEBEC;
    color: #D9534F;
}

.status-leave {
    background: #FFF3E4;
    color: #E59A24;
}

.status-default {
    background: #EEF0F5;
    color: #6B7280;
}


.employee-card-name {
    font-weight: 600;
    cursor: pointer;
    transition: color 0.15s ease;
}

.employee-card-name:hover {
    color: var(--amber);
}

/* =========================================================
   EMPLOYEE STATUS SELECT
   ========================================================= */

.employee-status-form {
    margin: 0;
    padding: 0;
}

.status-select {
    min-width: 92px;
    height: 30px;
    padding: 2px 26px 2px 12px;
    border: 0;
    border-radius: 20px;
    font-size: .72rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    outline: none;
    appearance: auto;
}

.status-select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(31, 36, 75, .12);
}


/* ACTIVE */

.status-select.status-active {
    background: #e5f6f1;
    color: #159f87;
}


/* INACTIVE */

.status-select.status-inactive {
    background: #eeeeee;
    color: #555b6e;
}


/* ON LEAVE */

.status-select.status-leave {
    background: #fff0df;
    color: #e59a2f;
}


/* DEFAULT */

.status-select.status-default {
    background: #eeeeee;
    color: #555b6e;
}

.registration-code {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #f8f9fc;
    color: var(--navy);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    white-space: nowrap;
}

.employee-login-error {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    margin-bottom: 20px;
    padding: 12px 14px;

    border: 1px solid #f1c7c7;
    border-radius: 8px;

    background: #fff5f5;
    color: #9b2c2c;

    font-size: 13px;
    line-height: 1.5;
}

.employee-login-error i {
    font-size: 16px;
    margin-top: 1px;
}

.employee-login-success {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    margin-bottom: 20px;
    padding: 12px 14px;

    border: 1px solid #b9e4d5;
    border-radius: 8px;

    background: #f0fbf7;
    color: #147a5b;

    font-size: 13px;
    line-height: 1.5;
}

.employee-login-password {
    position: relative;
}

.employee-login-password .form-control {
    padding-right: 45px;
}

.employee-login-password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);

    border: 0;
    background: transparent;

    color: #7a86a3;

    cursor: pointer;
    padding: 4px;
}

.employee-login-password-toggle:hover {
    color: #1d2340;
}

.employee-login-footer {
    margin-top: 18px;
    text-align: center;

    font-size: 12px;
    color: #8a94ad;
}


.employee-detail-value{font-size:.82rem;font-weight:600;color:var(--navy);word-break:break-word}
.employee-detail-label{font-size:.63rem;color:#9297b1;text-transform:uppercase;letter-spacing:.55px;margin-bottom:3px}
.employee-detail-section{padding:24px}
.employee-detail-section .form-section-h{margin-top:0}
.employee-detail-header{padding:22px 24px}
.employee-detail-header .emp-avatar{background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:center;border-radius:50%;font-weight:700}
.employee-detail-actions{padding-bottom:24px}

.existing-document
{
    font-size: .78rem;
    color: #556070;
    background: #f5f7fb;
    border: 1px solid #e3e7ef;
    border-radius: 7px;
    padding: 8px 10px;
}

.existing-document strong
{
    color: #25314d;
}

.existing-document i
{
    color: #198754;
}

/* =============================================
		   RECRUITMENT LIST
  ============================================= */


.recruitment-list-card {
	padding: 25px;
}
.recruitment-page-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	margin-bottom: 20px;
}
.recruitment-page-title {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--navy);
}
.recruitment-page-sub {
 font-size:.78rem;
	color: #8b8b8b;
	margin-top: 3px;
}
.recruitment-search-card {
	padding: 20px;
	margin-bottom: 20px;
}
.recruitment-table {
	margin-bottom: 0;
}
.recruitment-table thead th {
	white-space: nowrap;
 font-size:.78rem;
}
.recruitment-name {
	font-weight: 600;
	color: var(--navy);
	cursor: pointer;
}
.recruitment-name:hover {
	text-decoration: underline;
}
.recruitment-code {
 font-size:.72rem;
	color: #8b8b8b;
	margin-top: 2px;
}
.recruitment-avatar {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
 font-size:.75rem;
	font-weight: 700;
	color: #ffffff;
	background: var(--navy);
	flex-shrink: 0;
}

.recruitment-alert {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 15px 18px;
	border-radius: 10px;
	margin-bottom: 20px;
}
.recruitment-alert-error {
	background: #fff1f1;
	border: 1px solid #ffcaca;
	color: #b42318;
}
.recruitment-alert-success {
	background: #ecfdf3;
	border: 1px solid #abefc6;
	color: #067647;
}
.recruitment-alert-icon {
	font-size: 20px;
	line-height: 1;
}
.recruitment-alert-title {
	font-weight: 700;
 font-size:.88rem;
}
.recruitment-alert-message {
 font-size:.82rem;
	margin-top: 3px;
}
.recruitment-modal-avatar {
	width: 65px;
	height: 65px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1rem;
	font-weight: 700;
	color: #ffffff;
	background: var(--navy);
}
.recruitment-detail-label {
	display: block;
 font-size:.72rem;
	color: #8b8b8b;
	margin-bottom: 3px;
}
.recruitment-detail-value {
 font-size:.88rem;
	font-weight: 600;
	color: #333333;
	word-break: break-word;
}
 @media(max-width:767px) {
.recruitment-page-header {
	flex-direction: column;
	align-items: flex-start;
}
.recruitment-page-header .btn {
	width: 100%;
}
}

