/* Custom Font Configuration for Duluin Project */

/* Import Google Fonts - Public Sans and Inter */
@import url('https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* Override root variables */
:root {
    --tp-ff-body: "Public Sans", sans-serif;
    --tp-ff-heading: "Public Sans", sans-serif;
    --tp-ff-button: "Inter", sans-serif;
    --tp-ff-mont: "Public Sans", sans-serif;
}

/* Apply Public Sans to body and all elements */
body {
    font-family: "Public Sans", sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Public Sans", sans-serif !important;
}

/* Apply Inter to all buttons */
button,
.btn,
.tp-btn,
.tp-btn-blue,
.tp-btn-white,
.tp-btn-green,
.tp-btn-yellow,
.tp-btn-orange,
.tp-btn-purple,
.tp-btn-red,
.tp-btn-grey,
.tp-btn-border,
.tp-btn-inner,
.tp-btn-pink,
.tp-btn-green-sm,
.tp-btn-blue-sm,
.tp-btn-yellow-sm,
.tp-btn-sm,
.tp-btn-xs,
.submit-btn,
.btn-submit-magang,
input[type="submit"],
input[type="button"],
.button,
a.btn,
.postbox__apply-btn-box a,
.job-post-apply-btn a,
.career-details-apply-btn a,
[class*="btn-"],
[class*="-btn"] {
    font-family: "Inter", sans-serif !important;
}

/* Specific button classes used in the project */
.magang-tab,
.btn-primary,
.btn-secondary,
.btn-success,
.btn-danger,
.btn-warning,
.btn-info,
.btn-light,
.btn-dark,
.btn-link,
.btn-outline-primary,
.btn-outline-secondary,
.btn-indigo,
.btn-loading {
    font-family: "Inter", sans-serif !important;
}

/* Form buttons */
button[type="submit"],
button[type="button"],
button[type="reset"] {
    font-family: "Inter", sans-serif !important;
}

/* WhatsApp and other floating buttons */
.wa-float,
.scroll-top,
#chatbot-toggle,
#chatbot-send {
    font-family: "Inter", sans-serif !important;
}

/* Ensure consistency across the application */
* {
    font-family: "Public Sans", sans-serif;
}

button *,
.btn *,
[class*="btn-"] * {
    font-family: "Inter", sans-serif;
}
