@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
    --primary-color: #00529A;
    --secondary-color: #00A8AB;
    --text-dark: #00293D;



}

@font-face {
    font-family: 'Ping AR + LT';
    src: url('../uni/fonts/PingAR+LT-Hairline.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Ping AR + LT';
    src: url('../uni/fonts/PingAR+LT-Thin.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Ping AR + LT';
    src: url('../uni/fonts/PingAR+LT-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Ping AR + LT';
    src: url('../uni/fonts/PingAR+LT-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Ping AR + LT';
    src: url('../uni/fonts/PingAR+LT-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Ping AR + LT';
    src: url('../uni/fonts/PingAR+LT-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Ping AR + LT';
    src: url('../uni/fonts/PingAR+LT-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: "Ping AR + LT", sans-serif;
}

.container-uni {
    max-width: 1360px;
    margin: 0 auto;
    position: relative;
}

@media (max-width: 1400px) {
    .container-uni {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* body {
    max-width: 1444px;
    margin: 0 auto;
    position: relative;
} */


.px-100 {
    padding-left: 100px;
    padding-right: 100px;
}

.g-lg {
    gap: 500px;
}


.color--primary {
    background-color: var(--primary-color) !important;
}


.color--secondary {
    background-color: var(--secondary-color) !important;
}


.color--text-dark {
    color: var(--text-dark) !important;
}


/* UPM Button Variants */
.rigsterNow {
    background-color: var(--secondary-color);
    padding: 8px 24px 8px 4px;
    color: #fff;
    border-radius: 100px;
    height: 56px;
}

.register-hero-btn {
    background-color: var(--secondary-color);
    padding: 6px 12px 6px 4px;
    color: #fff;
    border-radius: 100px;
    height: 28px;
    width: 100%;
    max-width: 87px;
    font-size: 10px;
    font-weight: 500;
    margin-top: 30px;
}




.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.service-card {
    background-color: #FFFFFF;
    border-radius: 24px;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;

    height: 151px;

    cursor: pointer;

}


.service-card-icon i {
    font-size: 28px;
    color: #FFFFFF;
}

.service-card h4 {
    font-size: 16px;
    font-weight: 500;
    color: var(--secondary-color);
    margin: 0;
    text-align: center;
}

/* Hid  e default shepherd header and footer .shepherd-header, */
.shepherd-footer {
    display: none !important;
}

/* Tour content container */
.shepherd-content {
    padding: 16px;
    position: relative;
}

/* Tour text container */
.shepherd-text {
    margin-bottom: 0;
}

/* Tour step heading */
.tour-heading {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    margin-top: 0;
}

/* Tour step content/description */
.tour-content {
    color: var(--Gray-800);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 16px;
}

/* Tour navigation buttons container */
.tour-buttons {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 12px;
}

/* Tour exit/close button */
.tour-exit-btn {
    position: absolute;
    top: 8px;
    left: 8px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #666;
    padding: 4px 8px;
    line-height: 1;
    border-radius: 4px;
    transition: background-color 0.2s, color 0.2s;
}

.tour-exit-btn:hover {
    background-color: #f0f0f0;
    color: #333;
}

/* Tour navigation buttons */
.tour-btn-next,
.tour-btn-prev,
.tour-btn-complete {
    border-radius: 8px;
    padding: 6px 16px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    background-color: #00A8AB;
    cursor: pointer;
    transition: background-color 0.2s, opacity 0.2s;
}

.tour-btn-next {
    background-color: #00A8AB;
    color: #fff;
}

.tour-btn-next:hover {
    opacity: 0.9;
}

.tour-btn-prev {
    background-color: #e9ecef;
    color: var(--Gray-800);
}

.tour-btn-prev:hover {
    background-color: #dee2e6;
}

.tour-btn-complete {
    background-color: #198754;
    color: #fff;
}

.tour-btn-complete:hover {
    background-color: #157347;
}

/* end service-card */






.text--color-primary {
    color: var(--primary-color) !important;
}

.text-button-color {
    color: var(--primary-button-color) !important;
}

.text--color-secondary {
    color: var(--secondary-color) !important;
}

.text--color-tertiary {
    color: var(--tertiary-color);
}

.heading-title {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.text-bold {
    font-weight: 700 !important;
    font-size: 16px !important;
}






/* program-card-info-item */
.profile-info-program-card {
    background-color: #FFFFFF;
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 20px;
    width: 100%;
    height: 100%;
}

.program-card-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 20px;
}

.program-card-info-item:not(:last-child) {
    margin-bottom: 20px;
}

.program-card-info-item-label {
    color: #9AA6CD;
    font-size: 12px;
    font-weight: 300;
}

.program-card-info-item-value {
    color: var(--tertiary-color);
    font-size: 14px;
    font-weight: 500;
}

/* end program-card-info-item */


.mt-24 {
    margin-top: 24px;
}

.mb-24 {
    margin-bottom: 24px;
}


/* buttons */

.primary-button {
    background: var(--primary-button-color);
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 18px;
    color: #fff;
    gap: 8px;

    height: 40px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.secondary-button {
    background: white;
    border: 2px solid var(--primary-button-color);
    color: var(--primary-button-color);
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* board-dropdown actions  */

.board-dropdown-actions-btn {
    color: var(--Gray-800);
    font-size: 14px;
    font-weight: 400;
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;

}

.board-dropdown-actions-btn:hover {
    background-color: var(--Gray-100);
    /* /* Restored original hover color  */
    border-radius: 0px !important;
}



.text-muted {
    color: #667085 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: normal !important;
}

.auth-input-label {
    color: #00293D;
    font-size: 16px;
    font-weight: 500;
    margin-top: 16px;
    margin-bottom: 6px;
    line-height: 20px;
}




.uni-check-box {
    border: 1.5px solid #19BBB7 !important;
    border-radius: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.uni-check-box input[type="checkbox"] {
    background-color: #19BBB7;
    border-color: #19BBB7;
}

.form-check-input:checked[type=checkbox] {
    background-color: #19BBB7 !important;
    border-color: #19BBB7 !important;
}

.form-switch .form-check-input {
    width: 40px !important;
}

.form-control-color {
    width: 40px !important;
}


/* ========================================
   Shepherd.js Tour Styles (Reusable)
   ======================================== */

/*

/* ========================================
   End Shepherd.js Tour Styles
   ======================================== */

/* ========================================
   Tour Button Styles (Global)
   ======================================== */

/* /* Base styles for all tour buttons * */
button[id*="tour-btn"],
button[id*="tour"][id*="btn"] {
    position: fixed;
    bottom: 50px;
    left: 20px;
    z-index: 1000;
    border-radius: 50px;
    padding: 12px 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

button[id*="tour-btn"]:hover,
button[id*="tour"][id*="btn"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Mobile responsive styles */
@media (max-width: 768px) {

    button[id*="tour-btn"],
    button[id*="tour"][id*="btn"] {
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        padding: 10px 20px;
        font-size: 14px;
        border-radius: 40px;
    }

    button[id*="tour-btn"]:hover,
    button[id*="tour"][id*="btn"]:hover {
        transform: translateX(-50%) translateY(-2px);
    }
}

@media (max-width: 480px) {

    button[id*="tour-btn"],
    button[id*="tour"][id*="btn"] {
        bottom: 15px;
        padding: 8px 16px;
        font-size: 13px;
        width: 145px;
    }




    button[id*="tour-btn"] i,
    button[id*="tour"][id*="btn"] i {
        font-size: 20px;
        margin: 0;
    }
}

/* ========================================
   End Tour Button Styles
   ======================================== 




   /* /* Close Button* */
.custom-modal .custom-modal-header .modal-close-btn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    line-height: 1;
}

.custom-modal .custom-modal-header .modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}