/*-------------------------------------------------*/
/*                PEGAWAI.JSX START                */
/*-------------------------------------------------*/

.ul-li ul {
    margin: 0;
    padding: 0;
}

.ul-li ul li {
    list-style: none;
    display: inline-block;
}

.ul-li-block ul {
    margin: 0;
    padding: 0;
}

.ul-li-block ul li {
    display: block;
    list-style: none;
}

.team_degi{
    font-size: 14px;
    font-weight: 700;
    color: #b89b5e;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.team_details_section {
    font-family: var(--procounsel-font, "Plus Jakarta Sans", sans-serif);
    padding: 50px 0px 30px;
}

.team-certificates{
    padding: 50px 0px 130px;
}

.team_details_section .about_right_content {
    padding-left: 0;
    margin-top: 0px;
    padding-bottom: 50px;
    border-bottom: 2px solid #e4e4e4;
}

.team_details_section .about_right_content .about_progress {
    position: static;
    -webkit-box-shadow: none;
    box-shadow: none;
    padding: 20px 20px 10px;
    border: 2px solid #e4e4e4;
}

.team_details_section .about_right_content .progress_text h3 {
    padding-bottom: 0;
}

.team_details_section .team_profile {
    z-index: 1;
    max-width: 470px;
    padding: 35px 30px;
    background-color: #fff;
    -webkit-box-shadow: 0px 16px 32px 0px rgba(0, 0, 0, 0.06);
    box-shadow: 0px 16px 32px 0px rgba(0, 0, 0, 0.06);
}

.team_details_section .team_profile .shape_pattern {
    position: absolute;
    top: -30px;
    left: -15px;
    z-index: -2;
}

.team_details_section .team_profile .bg_img {
    position: absolute;
    top: 0;
    z-index: -1;
    left: 0;
}

.team_details_section .team_profile .team_name_designation {
    padding: 35px 0px 20px;
}

.team_details_section .team_profile .team_name_designation span {
    display: block;
}

.team_details_section .team_profile .team_name_designation .team_degi {
    font-size: 14px;
}

.team_details_section .team_profile .team_name_designation .team_name {
    color: black;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.20;
    padding-top: 20px;
}

.team_details_section .team_profile .team_social li {
    width: 50px;
    height: 50px;
    color: #bababa;
    line-height: 50px;
    text-align: center;
    border-radius: 100%;
    -webkit-transition: 0.3s all ease-in-out;
    -o-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
}

.team_details_section .team_profile .team_social li a {
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
}

.team_details_section .team_profile .team_social li:hover {
    -webkit-box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.06);
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.06);
    color: #b89b5e;
}

.team_details_section .team_profile .shape_pattern_2 {
    right: -30px;
    z-index: 0;
    bottom: -20px;
    position: absolute;
}

.personal_info {
    padding-bottom: 30px;
    border-bottom: 2px solid #e4e4e4;
}

.personal_info li {
    font-size: 18px;
    margin-bottom: 12px;
}

.personal_info li .personal_icon {
    width: 25px;
    height: 25px;
    margin-right: 22px;
}

.personal_info li .personal_icon i {
    color: #b89b5e;
}

.personal_info li span {
    font-weight: 700;
}

.team_service_area {
    margin-top: 50px;
    padding-bottom: 50px;
    background-color: transparent;
}

.team_service_area .service_icon_text {
    border: 2px solid #e4e4e4;
    padding: 60px 10px 50px;
}

.team_achivement_list .personal_info li {
    font-size: 16px;
}

.team_achivement_list .personal_info .personal_icon {
    margin-right: 10px;
}

.team_growth {
    margin-top: 50px;
}

.team_growth .team_growth_text p {
    margin-bottom: 30px;
}

.team_growth .growth_btn {
    margin: 0px -10px;
}

.team_growth .growth_btn li a {
    display: block;
    padding: 15px 30px;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-item {
    display: grid;
    grid-template-columns: 30px 120px 1fr;
    align-items: center;
    margin-bottom: 10px;
}

.team_details_section .personal_info .info-list li.info-item.info-item--inline {
    display: grid;
    grid-template-columns: 40px auto minmax(0, 1fr);
    align-items: center;
    gap: 0.15rem 0.4rem;
    margin-bottom: 12px; 
}

.team_details_section .personal_info .info-list li.info-item.info-item--inline .info-label {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    font-weight: 700;
}

.team_details_section .personal_info .info-list li.info-item.info-item--inline .info-value {
    grid-column: 3;
    min-width: 0;
    justify-self: start;
    line-height: 1.4;
}

.team_details_section .personal_info .info-list li.info-item.info-item--inline .accordion,
.team_details_section .personal_info .info-list li.info-item.info-item--inline .customized-accordion {
    grid-column: 1 / -1;
}

@media (max-width: 768px) {
    .team_details_section .personal_info .info-list li.info-item.info-item--inline {
        grid-template-columns: 40px 1fr;
        gap: 0.35rem 0.6rem;
    }

    .team_details_section .personal_info .info-list li.info-item.info-item--inline .info-value {
        grid-column: 2;
        margin-top: 4px;
    }
}

.personal_icon {
    text-align: center;
    color: #555;
}

.info-label {
    font-weight: bold;
    white-space: nowrap;
}

.info-value {
    word-break: break-word;
}

.info-list .info-item {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 5px 10px;
    margin-bottom: 15px;
}

.info-list .personal_icon {
    text-align: center;
    color: #b8935f;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-list .info-label {
    font-weight: bold;
}

.info-list .info-value {
    grid-column: 1 / -1;
    word-break: break-word;
    line-height: 1.6;
}

.info-list .info-item .accordion,
.info-list .info-item .customized-accordion {
    grid-column: 1 / -1;
    margin-left: 0;
}
	
.profil_img{
	width: 100%;
	object-fit: fill;
    height: 355px;
}


.section_title_area h2{
    font-family: var(--procounsel-heading-font, "Marcellus", serif);
}

.customized-accordion {
    margin-top: 8px;
}

.customized-accordion .accordion-item {
    background: #ffffff;
    border: 1px solid #f2ede1;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.customized-accordion .accordion-header {
    background: #fff;
    margin: 0;
}

.customized-accordion .accordion-button {
    position: relative;
    padding-left: 3rem;
    font-weight: 600;
    background-color: #ffffff;
    color: #111111;
    border-color: #f2ede1;
    border-radius: 0;
    text-align: left;
    box-shadow: none;
    transition: none;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.customized-accordion .accordion-button::before {
    content: "+";
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    color: #8a6b3a;
    transition: transform .12s ease, color .12s ease;
}

.customized-accordion .accordion-button:not(.collapsed)::before {
    content: "−";
}

.customized-accordion .accordion-button,
.customized-accordion .accordion-button.collapsed {
    background-color: #ffffff !important; 
    color: #111111 !important;             
    border-color: #f2ede1 !important;
}

.customized-accordion .accordion-button:hover,
.customized-accordion .accordion-button:active {
    background-color: #ffffff !important;
    color: #111111 !important;
}

.customized-accordion .accordion-button:not(.collapsed) {
    background-color: rgba(182,146,79,0.06) !important;
    color: #111111 !important;                          
    border-color: rgba(182,146,79,0.10) !important;
}

.customized-accordion .accordion-collapse.show,
.customized-accordion .accordion-collapse.show .accordion-body {
    background-color: rgba(182,146,79,0.04) !important;
    color: #111111 !important;
}

.customized-accordion .accordion-body {
    padding: 1.5rem;
    color: #444;
}

.customized-accordion .accordion-body .dt-card,
.customized-accordion .accordion-body table,
.customized-accordion .accordion-body .dataTables_wrapper {
    background-color: #ffffff !important;
    color: #111111 !important;
}

.customized-accordion .accordion-body table th,
.customized-accordion .accordion-body table td {
    background-color: transparent !important;
    color: #111111 !important;
}

@media (max-width:480px) {
    .customized-accordion .accordion-button::before { 
        left: 0.8rem; 
    }
}

/*-------------------------------------------------*/
/*                 PEGAWAI.JSX END                 */
/*-------------------------------------------------*/

/*-------------------------------------------------*/
/*            KETUA_JABATAN.JSX START              */
/*-------------------------------------------------*/

.team-one {
    margin-top: 8px;
    padding-top: 4px;
}

.team-card__title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;  
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3em; 
    max-height: calc(1.3em * 2); 
}

.team-card__designation {
    display: -webkit-box;
    -webkit-line-clamp: 2;  
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2em;
    max-height: calc(1.2em * 2);
}

/* .kj-img{
    width: 240px;
    height: 240px;
} */

/* .team-card__image {
    height: 242px;        
    width: 240px;
    overflow: hidden;
    position: relative;   
    box-sizing: border-box;
} */

.kj-img {
    width: 100%;
    max-width: 100%;
    height: 280px;
    display: block;
    box-sizing: border-box;
}

@media (max-width: 1200px) {
    .kj-img {
        height: 260px;
    }
}

@media (max-width: 768px) {
    .kj-img {
        height: 350px;
    }
}

/* Header */
.dt-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(29, 33, 41, 0.06);
    padding: 18px;
    border: 1px solid rgba(10, 23, 50, 0.04);
    margin-bottom: 24px;
}

.dt-card .dt-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.dt-card .dt-title {
    font-weight: 600;
    color: #0f1724;
    font-size: 18px;
}

.dt-card .dt-sub {
    color: #586274;
    font-size: 13px;
}

table.dataTable.dtr-inline.collapsed > tbody > tr > td:first-child:before {
    top: 18px;
}

.dataTables_wrapper .dtr-details table {
    width: 100%;
    border-collapse: collapse;
}

.dataTables_wrapper .dtr-details td {
    padding: 6px 10px;
    vertical-align: top;
    color: #374151;
    font-size: 13px;
}

/* DataTables Control Layout */
.dataTables_wrapper .dt-controls {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.dataTables_wrapper .dt-controls-left {
    display: flex;
    align-items: center;
}

.dataTables_wrapper .dt-controls-right {
    display: flex;
    align-items: center;
}

/* Length Select */
.dataTables_wrapper .dataTables_length {
    font-size: 13px;
    color: #374151;
    margin-right: 12px;
}

.dataTables_wrapper .dataTables_length select {
    height: 28px;
    min-width: 56px;
    padding: 4px 8px;
    font-size: 13px;
    border-radius: 8px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    background: #fff;
    margin: 0 5px;
}

/* Search Box Styles */
.dataTables_wrapper .dataTables_filter {
    position: relative;
    font-size: 13px;
}

.dataTables_wrapper .dataTables_filter input {
    width: 300px;
    height: 35px;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: none;
    font-size: 14px;
    margin-left: 5px;
}

.dataTables_wrapper .dataTables_filter input:focus {
    outline: none;
    border-color: rgba(51, 102, 255, 0.3);
    box-shadow: 0 6px 18px rgba(10, 23, 50, 0.06);
}

.dt-card .dt-sub {
    font-size: 13px;
    color: #6b7280;
}

.cell-jabatan-inner {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    font-size: 14px;
    line-height: 1.4;
}

.cell-phone {
    white-space: nowrap;
    font-feature-settings: "tnum";
    font-size: 14px;
}

.cell-muted {
    color: #6b7280;
    font-size: 13px;
}

/* Table Visuals */
table.custom_table {
    border-collapse: separate;
    border-spacing: 0 6px;
    width: 100%;
    /* table-layout: fixed; */
    margin-bottom: 4px;
}

table.custom_table td {
    vertical-align: middle;
}

table.custom_table thead th {
    background: transparent;
    color: #1f2b3a;
    font-weight: 700;
    font-size: 14px;
    border-bottom: 1px solid rgba(10, 23, 50, 0.06);
    vertical-align: middle;
    padding: 12px 16px;
    text-align: left;
}

table.custom_table tbody tr {
    background: transparent;
    border: none;
    transition: all 0.2s ease;
}

table.custom_table tbody td {
    background: #ffffff;
    padding: 14px 16px;
    border: none;
    vertical-align: middle;
    color: #344145;
    font-size: 14px;
    line-height: 1.3;
    transition: all 0.2s ease;
}

table.custom_table tbody tr:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

table.custom_table tbody tr:hover td {
    background: #ffffff !important;
    box-shadow: none !important;
}

/* Row Hover + New Added (td)  */
table.custom_table tbody tr,
table.custom_table tbody tr td {
    border: none !important;
    background: #ffffff !important;
    box-shadow: none !important;
}

table.dataTable {
    border: none !important;
}

table.dataTable thead th,
table.dataTable thead td {
    border: none !important;
}

table.dataTable tbody th,
table.dataTable tbody td {
    border: none !important;
    padding: 14px 16px;
}

table.dataTable.display tbody tr.odd {
    background-color: #ffffff !important;
}

table.dataTable.display tbody tr.even {
    background-color: #ffffff !important;
}

table.dataTable.display tbody tr.odd > .sorting_1 {
    background-color: #ffffff !important;
}

table.dataTable.display tbody tr.even > .sorting_1 {
    background-color: #ffffff !important;
}

table.custom_table tbody tr:hover td {
    background-color: #fafafa !important;
}

table.custom_table tbody tr td:first-child,
table.custom_table tbody tr td:last-child {
    border-radius: 0;
    border: none;
}

table.custom_table .cell-nama a {
    color: #344145;
    text-decoration: none;
    font-weight: 500;
}

table.custom_table .cell-nama a:hover {
    color: #b6924f;
    text-decoration: underline;
}

/* Pagination Button */
.dataTables_wrapper .dataTables_paginate {
    margin-top: 0;
    padding-top: 0;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 4px 8px;
    font-size: 13px;
    border-radius: 8px;
    margin: 0 4px;
    background: transparent;
    color: #374151;
    border: 1px solid transparent;
    min-width: 34px;
    height: 34px;
    line-height: 20px;
    margin-bottom: 0;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: rgba(15, 23, 42, 0.04);
    color: #111827;
    border-color: rgba(15, 23, 42, 0.04);
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #e9ecef;
    color: #111287 !important;
    border: 1px solid #e2e8f0;
    box-shadow: none;
    font-weight: 600;
}

/* Prev/Next smaller link text */
.dataTables_wrapper .dataTables_paginate .paginate_button.previous,
.dataTables_wrapper .dataTables_paginate .paginate_button.next {
    min-width: auto;
    padding: 4px 8px;
    font-size: 13px;
    color: #4b5563;
}

/* tighten footer layout: info left, pagination right */
.dt-bottom { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    gap: 8px; 
    flex-wrap: wrap; 
    margin-top: 8px;
    padding-top: 4px;
    border-top: 1px solid rgba(10, 23, 50, 0.04);
}

/* Info text */
.dataTables_wrapper .dataTables_info {
    color: #6b7280;
    font-size: 13px;
    display: inline-block;
    margin-bottom: 2px;
}

/* Remove default DataTables top border line */
.dataTables_wrapper table.dataTable.no-footer {
    border-bottom: none;
}

/* Make headers visually lighter and add small sort indicator */
th.sorting, th.sorting_asc, th.sorting_desc {
    position: relative;
    padding-right: 28px !important;
}

th.sorting::after, th.sorting_asc::after, th.sorting_desc::after {
    content: '▾';
    font-size: 12px;
    color: rgba(10, 23, 50, 0.18);
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

th.sorting_asc::after {
    content: '▴';
    color: rgba(37, 99, 235, 0.9);
}

th.sorting_desc::after {
    content: '▾';
    color: rgba(37, 99, 235, 0.9);
}

.accordion-item .accordion-button {
    background: #b6924f;
    color: white;
    border-color: #b6924f;
}

.team-card__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.team-card__designation {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive - Mobile First Approach */
@media (max-width: 780px) {
    .dataTables_wrapper .dt-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .dataTables_filter input {
        width: 100% !important;
    }

    .dataTables_wrapper .dataTables_length {
        margin-bottom: 8px;
    }
}

@media (max-width: 480px) {
    .dataTables_wrapper .dataTables_filter input {
        width: 100%;
    }
    .dataTables_wrapper .dataTables_length select { 
        min-width: 48px; 
    }
    .dataTables_wrapper .dataTables_paginate .paginate_button { 
        padding: 5px 7px; 
        font-size: 12px; 
        height: 32px; 
    }
}

/*-------------------------------------------------*/
/*              KETUA_JABATAN.JSX END              */
/*-------------------------------------------------*/


/*-------------------------------------------------*/
/*            PERKHIDMATAN.JSX START               */
/*-------------------------------------------------*/

.service-tabs {
    display: flex !important;
    gap: 1rem;
    flex-direction: row;
}

.service-tabs .nav-item {
    flex: 1;
}

.service-tabs .nav-link {
    border: 1px solid #f2ede1;
    border-radius: 0.5rem;
    margin: 0 0.5rem;
    padding: 3.5rem 1.5rem;
    text-align: center;
    color: #333;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.service-tabs .nav-link .tab-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
    color: inherit;
}

.service-tabs .nav-link.active {
    background: #b6924f;
    color: white;
    border-color: #b6924f;
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(182, 146, 79, 0.2);
}

.service-tabs .nav-link:not(.active):hover {
    background: #faf5ed;
    transform: translateY(2px);
}

@media (max-width: 768px) {
    .service-tabs {
        flex-direction: column;
        gap: 1rem;
    }

    .service-tabs .nav-item {
        width: 100%;
        margin-bottom: 0.75rem;
    }

    .service-tabs .nav-link {
        padding: 2rem 1rem;
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 120px;
    }

    .service-tabs .nav-link.active {
        transform: scale(1.02);
        box-shadow: 0 6px 12px rgba(182, 146, 79, 0.25);
    }

    .service-tabs .nav-link .tab-icon {
        font-size: 2.2rem;
        margin-bottom: 0.75rem;
    }

    .service-tabs .nav-link {
        font-size: 1.1rem;
        font-weight: 600;
    }
}

.custom-accordion .accordion-item {
    border: 1px solid #f2ede1;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.custom-accordion .accordion-header {
    background: #fff;
}

.custom-accordion .accordion-button {
    position: relative;
    padding-left: 3rem;
    font-weight: 600;
    background: #fff;
    color: #333;
    border-color: #f2ede1;
}

.custom-accordion .accordion-button::before {
    content: "+";
    position: absolute;
    left: 1rem;
    font-size: 1.25rem;
    transition: transform .2s;
}

.custom-accordion .accordion-button:not(.collapsed) {
    background: #faf8f2;
    color: #333;
    border-color: #f2ede1;
}

.custom-accordion .accordion-button:not(.collapsed)::before {
    content: "-";
}

.custom-accordion .accordion-button:focus {
    box-shadow: none;
}

.custom-accordion .accordion-collapse {
    border-top: 1px solid #f2ede1;
    background: #faf8f2;
}

.custom-accordion .accordion-body {
    padding: 1.5rem;
    color: #444;
}

.center-cta {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0;
    margin-top: 1rem;
    margin-bottom: 2rem;
    width: 100%;
}

.btn-gold {
    display: inline-block;
    background: #b6924f;
    color: #ffffff;
    border: 1px solid #b6924f;
    padding: 0.45rem 1.2rem;
    border-radius: 0.375rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .12s ease, transform .08s ease, box-shadow .12s ease;
}

.btn-gold:hover, .btn-gold:focus {
    background: #a67f3f;
    border-color: #a67f3f;
    color: #fff;
    text-decoration: none;
    outline: none;
}

@media (max-width: 480px) {
    .btn-gold {
        padding: 0.4rem 0.9rem;
        font-size: 14px;
    }

    .center-cta {
        justify-content: center;
    }
}

.accordion-section {
    padding-top: 50px;
    margin-top: 20px;
}

.cell-jabatanPerkhidmatan {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    font-size: 14px;
    line-height: 1.3;
}

/* Table Visuals */
#tablePerkhidmatan {
    width: 100%;
    table-layout: fixed;
}

#tablePerkhidmatan td {
    vertical-align: middle;
}

#tablePerkhidmatan thead th {
    background: transparent;
    color: #1f2b3a;
    font-weight: 700;
    font-size: 14px;
    border-bottom: none;
    vertical-align: middle;
    padding: 12px 16px;
    text-align: left;
}

#tablePerkhidmatan tbody tr {
    background: transparent;
}

#tablePerkhidmatan tbody td {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 0 rgba(10, 23, 50, 0.02);
    padding: 14px 16px;
    border: none;
    vertical-align: middle;
    color: #344145;
    font-size: 14px;
    line-height: 1.4;
}

#tablePerkhidmatan tbody tr td + td {
    margin-left: 8px;
}

/* Row Hover */
#tablePerkhidmatan tbody tr:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(28, 40, 60, 0.06);
}

/* Rounded first and last cells for each row to emphasize card-like row */
#tablePerkhidmatan tbody tr td:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

#tablePerkhidmatan tbody tr td:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

#tablePerkhidmatan .cell-namaPerkhidmatan a {
    color: #344145;
    text-decoration: none;
}

#tablePerkhidmatan .cell-namaPerkhidmatan a:hover {
    color: #b6924f;
    text-decoration: underline;
}

/* small icon columns */
#tablePerkhidmatan th.col-icon, #tablePerkhidmatan td.col-icon {
    text-align: center;
    width: 56px;
    white-space: nowrap;
    vertical-align: middle;
}

/* green circular tick */
.g2-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e6f7ef;
    color: #15803d;
    box-shadow: 0 1px 3px rgba(10, 20, 15, 0.04);
}

/* SVG tick slightly smaller */
.g2-badge svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

/* keep the empty cell visually aligned */
#tablePerkhidmatan td.col-icon {
    font-size: 0;
}

#tablePerkhidmatan td.col-icon .g2-badge {
    font-size: initial;
}

/* ensure link styling in first column remains same */
#tablePerkhidmatan .cell-namePerkhidmatan a {
    color: #344145;
    text-decoration: none;
    font-weight: 600;
}

/* Small muted email/phone text */
.cell-muted {
    color: #6b7280;
    font-size: 13px;
}

.card-tabs .nav-link.service-card {
    background-color: #19223a;
    color: #ffffff;
    border: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
    min-height: 150px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card-tabs .nav-link.service-card .card-icon {
    display: block;
    margin-bottom: 15px;
    color: #ffffff;
    font-size: 24px;
}

.card-tabs .nav-link.service-card .card-label {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
}

.card-tabs .nav-link.service-card.active,
.card-tabs .nav-link.service-card:hover {
    background-color: #c7954a;
    transform: translateY(-5px);
}

.card-tabs .nav-link.service-card:hover:not(.active) {
    background-color: rgba(199, 149, 74, 0.9);
    transform: translateY(-3px);
}

.card-tabs .nav-link.service-card * {
    color: #ffffff;
    text-decoration: none;
    background: transparent;
}

/*-------------------------------------------------*/
/*             PERKHIDMATAN.JSX END                */
/*-------------------------------------------------*/

/*-------------------------------------------------*/
/*          PERKHIDMATAN-LAIN.PHP START            */
/*-------------------------------------------------*/

/* Responsive Layout 2nd design */
.dt-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    margin: 0;
    padding: 0;
}

.dt-table-scroll::-webkit-scrollbar {
    height: 8px;
}

.dt-table-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.dt-table-scroll::-webkit-scrollbar-thumb {
    background: rgba(23, 40, 60, 0.08);
    border-radius: 6px;
}

/* perkhidmatanTable */
#perkhidmatanTable {
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
}

#perkhidmatanTable thead th {
    padding: 12px 16px;
    font-weight: 700;
    text-align: left;
    font-size: 14px;
    color: #1f2b3a;
    border-bottom: none;
}

#perkhidmatanTable tbody td {
    background: #fff;
    padding: 14px 16px;
    border-radius: 0;
    box-shadow: none;
    vertical-align: middle;
    font-size: 14px;
    color: #344145;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    backface-visibility: hidden;
}

#perkhidmatanTable .cell-clamp a {
    color: #344145;
    text-decoration: none;
}

#perkhidmatanTable .cell-clamp a:hover {
    color: #b6924f;
    text-decoration: underline;
}

#perkhidmatanTable td, #perkhidmatanTable th {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#perkhidmatanTable thead th.col-icon {
    text-align: center;
    padding-left: 0.5rem;
}

#perkhidmatanTable th:nth-child(1),
#perkhidmatanTable th:nth-child(1) { min-width: 380px; }
#perkhidmatanTable th:nth-child(2),
#perkhidmatanTable th:nth-child(2) { min-width: 260px; }
#perkhidmatanTable th:nth-child(3),
#perkhidmatanTable th:nth-child(3) { min-width: 220px; }
#perkhidmatanTable th:nth-child(4),
#perkhidmatanTable th:nth-child(4) { min-width: 160px; }

@media (max-width: 780px) {
    #perkhidmatanTable {
        width: auto;
        min-width: 1100px;
        table-layout: auto;
    }
}

/* Clamp long text in Jabatan/Bahagian/Unit */
.cell-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

/* small icon columns */
#perkhidmatanTable th.col-icon, #perkhidmatanTable td.col-icon {
    text-align: center;
    width: 56px;
    white-space: nowrap;
    vertical-align: middle;
}

/* green circular tick */
.g2-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e6f7ef;
    color: #15803d;
    box-shadow: 0 1px 3px rgba(10, 20, 15, 0.04);
}

/* SVG tick slightly smaller */
.g2-badge svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

/* keep the empty cell visually aligned */
#perkhidmatanTable td.col-icon {
    font-size: 0;
}

#perkhidmatanTable td.col-icon .g2-badge {
    font-size: initial;
}

/* ensure link styling in first column remains same */
#perkhidmatanTable .cell-namePerkhidmatan a {
    color: #344145;
    text-decoration: none;
    font-weight: 600;
}

/*-------------------------------------------------*/
/*           PERKHIDMATAN-LAIN.PHP END             */
/*-------------------------------------------------*/

/*-------------------------------------------------*/
/*                 HEADER.JSX START                */
/*-------------------------------------------------*/

.penang_logo {
    width: 90px;
}

.main-header .main-menu__list a {
    font-size: 1.25rem !important;
}

/*-------------------------------------------------*/
/*                 HEADER.JSX END                  */
/*-------------------------------------------------*/

/*-------------------------------------------------*/
/*                  INDEX.JSX START                */
/*-------------------------------------------------*/

.service-one__item {
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.icon-direktori {
    font-weight: 700;
    font-size: 40px;
    line-height: 40px;
    text-transform: uppercase;
    color: var(--procounsel-white, #fff);
}

.icon-direktori::before {
    position: relative;
    display: inline-block;
}

.main-slider-five__shape-one {
    width: 330px;
    height: 661px;
    -webkit-mask-image: url('images/hero-5-shape-2.png');
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-image: url('images/hero-5-shape-2.png');
    mask-repeat: no-repeat;
    mask-size: contain;
}

.main-slider-five {
    min-height: 300px;
    /* Minimum height */
    max-height: 500px;
    /* Optional maximum */
    overflow: hidden;
}

.main-slider-five__bg .second_bg {
    background-size: cover;
    background-position: center bottom;
}

/*-------------------------------------------------*/
/*                  INDEX.JSX END                  */
/*-------------------------------------------------*/

/*-------------------------------------------------*/
/*                  ACCORDION START                */
/*-------------------------------------------------*/

.tapisan.accordion {
    width: 60%;       /* adjust as needed */
    margin: 0 auto;
    margin-bottom: 0px;
    margin-top: 30px;
}

.mobile-nav__wrapper {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100%;
    transition: left 0.3s ease-in-out;
    z-index: 9999;
}

.mobile-nav__wrapper.expanded {
    left: 0;
}

.mobile-nav__overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9998;
}

.mobile-nav__content {
    padding: 20px;
}

.mobile-nav__btn span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 4px 0;
    background: #333;
}

/* Ensure submenus open when Navbar adds .open on <li> */
.mobile-nav__content .main-menu__list li.open > ul,
.mobile-nav__content .main-menu__list li.open > .sub-menu {
    display: block;
}

/* Optional: highlight active/open parent in mobile */
.mobile-nav__content .main-menu__list li.open > a,
.mobile-nav__content .main-menu__list li.open > .nav-link {
    color: var(--procounsel-base, #c7954a);
}

/* If needed: burger lines (template usually already has this) */
.mobile-nav__btn span {
    display:block;
    width:26px; height:2px;
    background:#0e0b06;
    + span { margin-top:5px; }
}

.mobile-nav__wrapper {
    position: fixed;
    inset: 0;
    z-index: 1000; /* wrapper baseline */
}

.mobile-nav__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1001; /* overlay sits above wrapper but below content */
}

.mobile-nav__content {
    position: relative;
    z-index: 1002; /* ensure nav items sit above overlay */
    width: 280px;
    height: 100%;
    overflow-y: auto;
}

/*-------------------------------------------------*/
/*                  ACCORDION END                  */
/*-------------------------------------------------*/

/*-------------------------------------------------*/
/*           CARIAN_PEGAWAI.JSX START              */
/*-------------------------------------------------*/

.email-img {
    display: inline-block;
    vertical-align: middle;
    height: 24px;
    width: auto;
    max-width: none;
    min-width: 30px;
    background: transparent;
    border: none;
}

/* Higher specificity version */
.info-value .email-display img,
.info-value .email-display .email-img,
span.email-display img {
    margin-top: 10px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    height: 36px !important;
    width: auto !important;
    max-width: none !important;
    min-width: 30px !important;
    background: transparent !important;
    border: none !important;
}

/*-------------------------------------------------*/
/*             CARIAN_PEGAWAI.JSX END              */
/*-------------------------------------------------*/

/*-------------------------------------------------*/
/*                PEGAWAI.JSX END                  */
/*-------------------------------------------------*/

#team_details .info-item.info-item--inline .info-value .email-wrapper {
  font-size: 16px;
  line-height: 1.4;
  display: inline-flex;      /* centers image + text together */
  align-items: center;
  gap: 0.4rem;
}

/* only affects the profile block on Pegawai page */
#team_details .info-value .email-img {
    margin-top: 17px !important;
    height: 38px !important;
    line-height: 1em !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    vertical-align: middle !important;
    display: inline-block !important;
}

/* Page header title links: white by default, gold on hover/focus */
.page-header__title .page-header__line,
.page-header__title .page-header__line a {
    color: #ffffff;                     /* default: white */
    text-decoration: none;
    transition: color .15s ease;
    cursor: default;                    /* default for plain text; will be overridden for links below */
}

/* If link is clickable (we render <a>), make it pointer and accessible */
.page-header__title .page-header__line a {
    cursor: pointer;
}

/* Hover & focus: change only the text color to gold, no bg changes */
.page-header__title .page-header__line a:hover,
.page-header__title .page-header__line a:focus {
    color: #b6924f;                     /* gold on hover/focus */
    outline: none;
    text-decoration: none;
}

/* Provide visible focus outline for keyboard users (accessible) */
.page-header__title .page-header__line a:focus {
    box-shadow: 0 0 0 3px rgba(182,146,79,0.15);
    border-radius: 6px;
}

/* If some other rule is overriding color, increase specificity here */
.page-header__title .page-header__line a,
.page-header__title .page-header__line {
  /* add !important only if you still see wrong color after a hard refresh */
  /* color: #ffffff !important; */
}

/* Optional: smaller screens tweak */
@media (max-width: 480px) {
    .page-header__title .page-header__line {
        font-size: 14px;
    }
}

.open-vcard i {
    transition: color .18s ease, transform .12s ease;
    color: rgba(0, 0, 0, 0.65);
}

.open-vcard:hover i {
    color: #1dbfcc;
    transform: translateY(-1px);
}

.open-vcard {
    background: transparent;
    border: 0;
    padding: 6px;
    border-radius: 6px;
    cursor: pointer;
}

/*-------------------------------------------------*/
/*                PEGAWAI.JSX END                  */
/*-------------------------------------------------*/

/*-------------------------------------------------*/
/*          PERKHIDMATAN_INFO.JSX start            */
/*-------------------------------------------------*/

.perkhidmatan_info{
    margin-top: 50px;
    margin-bottom: 100px;
}

.custom-download-btn {
  border: 1px solid;
  color: blue;
  background-color: transparent;
  transition: all 0.3s ease;
}

.custom-download-btn:hover {
  background-color: #c7954a;
  color: #fff;
}

/*-------------------------------------------------*/
/*          PERKHIDMATAN_INFO.JSX end              */
/*-------------------------------------------------*/

/*-------------------------------------------------*/
/*                VCARD.JSX start                  */
/*-------------------------------------------------*/

:root {
    --card-width: 425px;
    --accent-aqua: #17c4c8;
    --accent-aqua-weak: rgba(23,196,200,0.16);
    --contact-border: #00bfc3;
    --label-color: #222;
    --value-color: #111;
    --page-gray: #f5f5f5;
}

.vcard-page {
    min-height: 100vh;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 0;
    margin: 0;
    position: relative;
    background: var(--page-gray);
}

.vcard-wrapper {
    width: 100%;
    max-width: var(--card-width);
    margin: 0;
    position: relative;
    z-index: 2;
    min-height: 100vh;
    background: #fff;
}

.vcard-background {
    position: relative;
    width: 100%;
    height: 180px;
    border-radius: 0;
    background: linear-gradient(135deg, #2d4263 0%, #416ba8 50%, #5a8fd5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    overflow: visible;
}

.vcard-emblem {
    width: 200px;
    height: auto;
    position: relative;
    z-index: 2;
    margin-top: -60px;
}

.vcard-card {
    background: #fff;
    border-radius: 0;
    padding: 0 22px 90px;
    position: relative;
    z-index: 3;
}

.vcard-top {
    text-align: center;
    margin-top: -70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0;
}

.avatar-wrap {
    position: relative;
    z-index: 4;
    margin-bottom: 4px;
}

.avatar-border {
    width: auto;
    height: auto;
    max-width: 160px;
    max-height: 200px;
    border-radius: 12px;
    margin-top: 30px;
    padding: 0;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    overflow: hidden;
}

.vcard-avatar {
    width: auto;
    height: auto;
    max-width: 160px;
    max-height: 200px;
    object-fit: contain;
    border-radius: 12px;
    display: block;
}

.vcard-title-block {
    margin-top: 16px;
}

.vcard-name {
    margin: 0 0 8px;
    color: #0e0b06;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
}

.vcard-position {
    font-size: 14px;
    color: #222;
    font-weight: 700;
    margin: 0;
}

.vcard-organization {
    font-size: 13px;          
    color: #666;               
    font-weight: 600;          
    margin: 4px 0 0 0;         
    line-height: 1.4;          
}

.vcard-contact-heading {
    margin: 28px 0 18px;
}

.vcard-contact-heading h2 {
    margin: 0;
    color: var(--accent-aqua);
    font-size: 20px;
    font-weight: 800;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.vcard-contact-heading h2::before,
.vcard-contact-heading h2::after {
    content: '';
    width: 30px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent-aqua));
}

.vcard-contact-heading h2::after {
    background: linear-gradient(to left, transparent, var(--accent-aqua));
}

.vcard-contact-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 20px;
}

.vcard-contact-item {
    display: flex;
    gap: 14px;
    align-items: center;
    border: 2px solid var(--contact-border);
    padding: 5px;
    border-radius: 12px;
    background: #fff;
    transition: all 0.2s;
}

.vcard-contact-item:hover {
    box-shadow: 0 4px 12px rgba(0, 191, 195, 0.15);
    transform: translateY(-1px);
}

.icon-box {
    width: 35px;
    height: 35px;
    min-width: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--accent-aqua);
    color: #fff;
    flex-shrink: 0;
    margin-top: 0;
}

.icon-box i { 
    color: #fff; 
    font-size: 22px; 
}

.contact-body {
    flex: 1;
    text-align: left;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-label {
    font-size: 15px;
    font-weight: 700;
    color: var(--label-color);
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: none;
}

.contact-value {
    font-size: 15px;
    color: var(--value-color);
    font-weight: 600;
    word-break: break-word;
    line-height: 1.4;
}

.contact-link { 
    color: var(--value-color); 
    text-decoration: none; 
    font-weight: 600;
    transition: color 0.2s;
}

.contact-link:hover {
    color: var(--accent-aqua);
}

.contact-text { 
    color: var(--value-color); 
    font-weight: 500;
    white-space: pre-wrap;
}

.vcard-map {
    margin-top: 18px;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--contact-border);
}

.vcard-map iframe { 
    width: 100%; 
    height: 100%; 
    border: 0; 
}

.share-floating,
.add-contact-floating {
    position: fixed;
    bottom: 24px;
    z-index: 100;
    border: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.share-floating:hover,
.add-contact-floating:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.share-floating {
    left: 51%;
    transform: translateX(-210px);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-aqua);
    padding: 0;
}

.share-floating:hover {
    transform: translateX(-210px) translateY(-2px);
}

.share-floating .share-icon { 
    color: #fff; 
    font-size: 24px; 
}

.add-contact-floating {
    right: 51%;
    transform: translateX(210px);
    height: 60px;
    padding: 0 8px 0 20px;
    border-radius: 30px;
    background: #000;
    color: #fff;
    gap: 10px;
}

.add-contact-floating:hover {
    transform: translateX(210px) translateY(-2px);
}

.add-label { 
    font-weight: 700; 
    color: #fff; 
    font-size: 15px;
    white-space: nowrap;
}

.add-plus { 
    width: 40px; 
    height: 40px; 
    border-radius: 50%; 
    background: #fff; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    flex-shrink: 0;
    margin-right: 4px;
}

.add-plus .plus-icon { 
    color: #000; 
    font-size: 24px;
    font-weight: 700;
}

.vcard-modal-backdrop { 
    position: fixed; 
    inset: 0; 
    background: rgba(0, 0, 0, 0.6); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    z-index: 10000;
    padding: 20px;
}

.vcard-modal { 
    width: 100%; 
    max-width: 420px; 
    background: #fff; 
    border-radius: 16px; 
    overflow: hidden; 
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    max-height: 90vh;
    overflow-y: auto;
}

.vcard-modal-header { 
    display: flex; 
    align-items: center; 
    justify-content: flex-end;
    padding: 18px 20px; 
    border-bottom: 1px solid #eee;
    background: #fafafa;
}

.vcard-modal-header h4 {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    color: #222;
}

.vcard-modal-header .close {
    background: none;
    border: none;
    font-size: 32px;
    line-height: 1;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.vcard-modal-header .close:hover {
    color: #000;
}

.vcard-modal-body { 
    padding: 24px; 
}

.qr-box { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 20px; 
    border: 3px solid var(--accent-aqua); 
    border-radius: 12px; 
    background: #fff; 
    margin-bottom: 12px; 
}

.qr-box img { 
    width: 100%; 
    max-width: 300px; 
    height: auto; 
    object-fit: contain;
    display: block;
}

.qr-actions-row {
    display: flex;
    gap: 12px;
    margin-bottom: 0;
}

.qr-actions-row .vcard-btn {
    flex: 1;
}

.qr-scan-btn {
    width: 100%;
    padding: 14px;
    background: var(--accent-aqua);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    text-align: center;
    margin-top: -2px;
    margin-bottom: 18px;
    transition: all 0.2s;
}

.qr-scan-btn:hover {
    background: #15b0b4;
    transform: translateY(-1px);
}

.vcard-btn {
    display: inline-block;
    padding: 14px 24px;
    background: var(--accent-aqua);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    width: 100%;
    transition: all 0.2s;
}

.vcard-btn:hover {
    background: #15b0b4;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(23, 196, 200, 0.3);
}

.vcard-btn.black {
    background: #000;
    color: #fff;
}

.vcard-btn.black:hover {
    background: #222;
}

.vcard-card.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--accent-aqua);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Override email image styling in vCard */
.vcard-contact-item .email-img,
.vcard-contact-item img.email-img {
    height: auto !important;
    width: 70% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    display: block !important;
    font-weight: bold !important;
    margin-top: 5px !important;
}

/* Style the email display container in vCard */
.vcard-contact-item .vcard-email-display,
.vcard-contact-item .email-display {
    display: block;
    width: 100%;
}

/* Make sure links inside don't have underlines */
.vcard-contact-item .vcard-email-display a,
.vcard-contact-item .email-display a {
    text-decoration: none !important;
    color: inherit !important;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.alert {
    padding: 16px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    color: #856404;
    font-size: 14px;
}

@media (max-width: 480px) {
    .vcard-wrapper { 
        width: 100%; 
    }

    .vcard-background {
        height: 180px;
    }

    .vcard-emblem {
        width: 200px;
        margin-top: -55px;
    }

    .avatar-border {
        width: auto;
        height: auto;
        max-width: 140px;
        max-height: 180px;
    }

    .vcard-top {
        margin-top: -60px;
    }

    .vcard-name { 
        font-size: 22px; 
    }

    .vcard-position {
        font-size: 15px;
    }

    .contact-label { 
        font-size: 14px; 
    }

    .contact-value { 
        font-size: 14px; 
    }

    .icon-box {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }

    .icon-box i {
        font-size: 20px;
    }

    .share-floating { 
        left: 16px;
        transform: none;
        bottom: 20px;
        width: 56px;
        height: 56px;
    }

    .share-floating:hover {
        transform: translateY(-2px);
    }

    .share-floating .share-icon {
        font-size: 22px;
    }

    .add-contact-floating { 
        right: 16px;
        transform: none;
        bottom: 20px;
        height: 56px;
        padding: 0 6px 0 16px;
    }

    .add-contact-floating:hover {
        transform: translateY(-2px);
    }

    .add-label {
        font-size: 13px;
    }

    .add-plus {
        width: 36px;
        height: 36px;
    }

    .add-plus .plus-icon {
        font-size: 20px;
    }

    .vcard-card {
        padding: 0 18px 90px;
    }
}

@media (min-width: 481px) {
    .vcard-page {
        padding: 20px;
        align-items: center;
    }

    .vcard-wrapper {
        border-radius: 0;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        min-height: auto;
    }

    .vcard-background {
        border-radius: 0;
    }
}

/*-------------------------------------------------*/
/*                VCARD.JSX end                    */
/*-------------------------------------------------*/

/*-------------------------------------------------*/
/*                AMMK.JSX start                   */
/*-------------------------------------------------*/

.ammk-profile {
    max-width: 353px;        
    padding: 26px 22px;      
}

.ammk-profile .team_name {
    font-size: 28px;
    padding-top: 12px;
}

.ammk-profile .profil_img {
    width: 225px;           
    /* aspect-ratio: 3 / 4;    */
    display: block;
    object-fit: cover;
    border-radius: 0;
    height: auto;
}

.ammk-profile.exco {
    display: flex;
    flex-direction: column;
    align-items: center;     
    text-align: center;     
    gap: 12px;
}

.ammk-profile.exco .team_single_img {
    margin: 0 auto;
    display: block;
}

.ammk-profile.exco .profil_img {
    width: 200px;            
    object-fit: cover;
    height: auto;
    display: block;
    border-radius: 0;
}

.ammk-profile.exco .team_name {
    font-size: 20px;         /* slightly smaller than leadership so it fits */
    font-weight: 600;
    line-height: 1.2;
    white-space: normal;     /* allow wrapping */
    word-break: break-word;  /* break long words if needed */
    max-width: 100%;
    margin: 0;               /* remove any extra top/bottom margin */
}

/* ensure name/designation block has some padding */
.ammk-profile.exco .team_name_designation {
    padding-top: 8px;
    padding-bottom: 6px;
    width: 100%;
}

/* Responsive: stacked layout on small screens, keep portrait taller than wide */
@media (max-width: 991px) {
    .ammk-profile { 
        max-width: 100%; 
        padding: 18px; 
    }

    .ammk-profile .profil_img { 
        width: 220px; 
        /* aspect-ratio: 3 / 4;  */
    }

    .ammk-profile .team_name { 
        text-align: center; 
    }

    .ammk-profile.exco .team_name { 
        font-size: 22px; 
    }
}

/*-------------------------------------------------*/
/*                 AMMK.JSX end                    */
/*-------------------------------------------------*/

/*-------------------------------------------------*/
/*           SKELETONLOADER.JSX start              */
/*-------------------------------------------------*/

.skeleton-box {
    background: linear-gradient(90deg, #f0f0f0 0%, #f8f8f8 50%, #f0f0f0 100%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 4px;
    display: inline-block;
}

@keyframes skeleton-loading {
    0% { 
        background-position: 200% 0; 
    }

    100% { 
        background-position: -200% 0; 
    }
}

/* Smooth appearance */
.skeleton-box {
    opacity: 0;
    animation: skeleton-loading 1.5s ease-in-out infinite,
               skeleton-fade-in 0.3s ease-in forwards;
}

@keyframes skeleton-fade-in {
    to {
        opacity: 1;
    }
}

/*-------------------------------------------------*/
/*            SKELETONLOADER.JSX end               */
/*-------------------------------------------------*/