:root {
    --bs-primary: #0D6CB6;
}

body {
    font-family: "Plus Jakarta Sans", sans-serif;
    scroll-behavior: smooth;
}

.text-otsuka {
    font-family: "Plus Jakarta Sans", sans-serif;
    color: #0D6CB6 !important;
}

.navbar-otsuka {
    line-height: 1.5 !important;
}

.font-family-otsuka {
    font-family: "Plus Jakarta Sans", sans-serif !important;
}

.bg-otsuka-secondary {
    background: #F7FBFF !important;
}

.bg-otsuka-grey {
    background-color: #F4F2F0 !important;
}

.bg-gradient-otsuka {
    background-image: linear-gradient(to right, #D6E6FE, #B8D7EF, #4793D2);
}

.rbt-page-banner-wrapper .rbt-banner-image {
    background: linear-gradient(to right, #D6E6FE, #B8D7EF, #4793D2) !important;
}

.quick-access > li.account-access {
    margin-left: 0 !important;
}

.quick-access > li.account-access::after {
    width: 0 !important;
}

.rbt-btn.btn-border-gradient {
    background: linear-gradient(to right, #D6E6FE, #B8D7EF, #4793D2) !important;
}

.mainbar-row .rbt-main-navigation {
    margin: 0 30px 0 0 !important;
}

.text-otsuka-red {
    font-family: "Plus Jakarta Sans", sans-serif;
    color: #BA0D2B !important;
    font-weight: 700 !important;
}

.text-otsuka-green {
    font-family: "Plus Jakarta Sans", sans-serif;
    color: #3EB75E !important;
    font-weight: 700 !important;
}

.text-otsuka-yellow {
    font-family: "Plus Jakarta Sans", sans-serif;
    color: #FF8F3C !important;
    font-weight: 700 !important;
}

.text-hero {
    font-family: "Plus Jakarta Sans", sans-serif;
    color: #0D6CB6 !important;
    font-weight: 300 !important;
    font-size: 80px !important;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .text-hero {
        font-size: 50px !important;
    }
}

.text-otsuka:hover {
    color: #2E99D1 !important;
}

.bg-otsuka {
    font-family: "Plus Jakarta Sans", sans-serif;
    background-color: #0D6CB6 !important;
    color: #FFF !important;
}

.badge-otsuka {
    font-family: "Plus Jakarta Sans", sans-serif;
    background-color: #D6E6FE !important;
    color: #0D6CB6 !important;
    border-radius: 8px;
}

.dm-sans {
    font-family: "DM Sans", sans-serif;
    font-weight: 400 !important;
    color: #667085 !important;
}

.color-otsuka {
    color: #0D6CB6 !important;
}

.color-otsuka-black {
    color: #091832 !important;
}

.color-otsuka-secondary {
    color: #2E99D1 !important;
}

.rbt-header .rbt-header-wrapper {
    box-shadow: none !important;
}

.navbar-text-incoming {
    color: #BA0D2B !important;
}

ul.rbt-dropdown-menu li .sub-menu {
    min-width: 130px;
}

ul li a:hover {
    color: #2E99D1 !important;
}

.rbt-page-banner-wrapper {
    padding: 60px 0 200px;
}

.btn-action {
    font-family: "Plus Jakarta Sans", sans-serif;
    background-color: #FFF;
    color: #0D6CB6;
    padding: 5px 20px 5px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    border: #0D6CB6 solid 1px !important;
}

.btn-action:hover {
    background-color: #0D6CB6;
    color: #FFF;
    border: #FFF solid 1px !important;
}

.btn-otsuka {
    font-family: "Plus Jakarta Sans", sans-serif;
    background-color: #0D6CB6;
    color: #FFF;
    border-radius: 8px;
}

.btn-otsuka:disabled,
.btn-otsuka.disabled {
    font-family: "Plus Jakarta Sans", sans-serif;
    background-color: #E0E0E0;
    color: #9E9E9E;
    border-radius: 8px;
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-otsuka:hover {
    background-color: #2E99D1;
}

.btn-otsuka-outline {
    font-family: "Plus Jakarta Sans", sans-serif;
    background: transparent !important;
    color: #0D6CB6 !important;
    border-radius: 8px !important;
    border: #0D6CB6 2px solid !important;
    letter-spacing: 0.5px;
    font-weight: 500;
    display: inline-block;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease-in-out;
    outline: none;
    text-decoration: none;
    padding: 0 25px;
    font-size: var(--font-size-b3);
    height: 50px;
    line-height: 48px;
}

.btn-otsuka-secondary {
    font-family: "Plus Jakarta Sans", sans-serif;
    background-color: #BA0D2B;
    color: #FFF;
    border-radius: 8px;
}

.btn-otsuka-secondary:hover {
    background-color: #b43248;
}

.btn-category-active {
    font-family: "Plus Jakarta Sans", sans-serif;
    background-color: #0D6CB6;
    color: #FFF;
    border-radius: 25px;
    padding: 6px 20px 6px 20px;
}

.btn-category {
    font-family: "Plus Jakarta Sans", sans-serif;
    background-color: #FFF;
    color: #0D6CB6;
    border: #EDF2F7 solid 2px;
    border-radius: 25px;
    padding: 6px 20px 6px 20px;
}

.btn-category {
    font-family: "Plus Jakarta Sans", sans-serif;
    background-color: #FFF;
    color: #0D6CB6;
    border: #EDF2F7 solid 2px;
    border-radius: 25px;
    padding: 6px 20px 6px 20px;
}

.btn-detail {
    font-family: "Plus Jakarta Sans", sans-serif;
    background-color: #FFF;
    font-weight: 700 !important;
    color: #0D6CB6;
    border: #EDF2F7 solid 2px;
    border-radius: 25px;
    padding: 6px 20px 6px 20px;
    box-shadow: none;
}

.btn-detail.btn-md {
    padding: 0 25px;
    font-size: 15px;
    height: 50px;
    line-height: 48px;
}

.btn-detail:hover {
    font-family: "Plus Jakarta Sans", sans-serif;
    background-color: #0D6CB6;
    font-weight: 700 !important;
    color: #FFF;
    border: #EDF2F7 solid 2px;
    border-radius: 25px;
    box-shadow: none;
}

.rbt-banner-1 {
    background-color: white !important;
    background-image: none !important;
    padding: 0 0 0 150px !important;
}

.rbt-banner-1::after {
    background: none !important;
}

.rbt-banner-2 {
    background-color: white !important;
    background-image: none !important;
    padding: 0 150px 0 150px !important;
}

.radius-16 {
    border-radius: 16px !important;
}

.rbt-card {
    box-shadow: none !important;
    border: #EDF2F7 solid 2px;
}

.rbt-meta li {
    margin: 3px;
}

.rbt-inner-onepage-navigation {
    background: none !important;
    box-shadow: none !important;
}

/*a {*/
/*    color: #0D6CB6!important;*/
/*}*/
.mainmenu .current {
    background: #0D6CB6 !important;
    border-radius: 16px !important;
    position: static;
}

.mainmenu .current:hover {
    background: #2E99D1 !important;
    color: #FFF;
}

.rating-box {
    background: #F7FBFF !important;
}

.rating-box .rating svg {
    color: #0D6CB6 !important;
}

.rating-box .sub-title {
    color: #0D6CB6 !important;
}

.rating-text svg {
    color: #0D6CB6 !important;
}

.review-wrapper .progress .progress-bar {
    background-color: #0D6CB6 !important;
}

.rating a i {
    color: #0D6CB6 !important;
}

input[type=text], input[type=password], input[type=email], input[type=number], input[type=tel], input[type=date], input[type=time], textarea {
    box-shadow: none !important;
}

.president-talk-bg {
    position: relative;
    overflow: hidden;
}

.president-talk-bg::after {
    content: '';
    position: absolute;
    right: -90px;
    top: -70px;
    bottom: 0;
    width: 50%;
    background: url('president.png') right center/cover no-repeat;
    pointer-events: none;
    z-index: 0;
}

.president-talk-bg .container {
    position: relative;
    z-index: 1;
}

button.btn-light {
    box-shadow: none !important;
    border: 2px solid var(--color-border) !important;
}

.alert {
    border-radius: 6px !important;
    padding: 15px 15px !important;
}

/*CHAT BUTTON*/
.chat-button {
    position: fixed;
    bottom: 80px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #0D6CB6;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.chat-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 102, 204, 0.6);
}

/* Chat popup */
.chat-popup {
    position: fixed;
    bottom: 150px;
    right: 30px;
    width: 320px;
    background: #0D6CB6;
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(0, 102, 204, 0.3);
    z-index: 1000;
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

.chat-popup.show {
    display: flex;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#tawk_695a65626cedff197d83e168 {
    position: fixed !important;
    right: 30px !important;
    bottom: 150px !important;
    width: 380px !important;
    height: 500px !important;
    z-index: 1000 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    border-radius: 20px !important;
    overflow: hidden !important;
}

#tawk_695a65626cedff197d83e168.tawk-visible {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transition: opacity 0.3s ease !important;
}

/* Style the iframe inside */
#tawk_695a65626cedff197d83e168 iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    border-radius: 20px !important;
    box-shadow: 0 12px 32px rgba(0, 102, 204, 0.3) !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
}

/* Adjust for mobile if needed */
@media (max-width: 768px) {
    #tawk_695a65626cedff197d83e168 {
        right: 20px !important;
        bottom: 100px !important;
        max-width: calc(100vw - 40px) !important;
        min-width: 280px !important;
    }
}

.chat-header {
    color: white;
    padding: 24px 20px;
    border-bottom: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h5 {
    margin: 0;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.5px;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.close-btn:hover {
    opacity: 1;
}

.chat-body {
    padding: 8px 16px 16px 16px;
    flex: 1;
}

.menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    margin-bottom: 8px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(4px);
}

.menu-item-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-item-text {
    font-size: 15px;
    color: white;
    font-weight: 500;
    margin: 0;
}

.menu-icon-right {
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: white;
    opacity: 0.8;
}

/*END CHAT BUTTON*/
.rbt-course-grid-column.active-grid-view .button-registration {
    width: 100%;
    text-align: center;
    margin-top: 10px;
}

.rbt-short-title {
    font-size: 18px;
    padding-bottom: 14px;
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    color: #0a0a0a;
    opacity: 1;
    border-bottom: 1px solid var(--color-border);
}

.bg-color-darker .rbt-btn.btn-border-gradient::before, .bg-color-dark .rbt-btn.btn-border-gradient::before {
    background: #fff !important;
}

.share-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    min-width: 200px;
    z-index: 9000;
    overflow: hidden;
}

.share-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #374151;
    text-decoration: none;
    transition: background-color 0.2s;
    font-size: 14px;
}

.share-dropdown-item:hover {
    background-color: #f3f4f6;
    color: #111827;
}

.share-dropdown-item i,
.share-dropdown-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.share-dropdown-item:first-child {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.share-dropdown-item:last-child {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.hr-otsuka {
    background-color: #e6e3f14f !important;
    border: none;
    border-bottom: 2px solid #e6e3f14f;
}

#editor-container {
    min-height: 300px;
    border: 2px solid #EDF2F7;
    border-radius: 8px;
    background: #ffffff;
}

#editor-container .ql-toolbar {
    border: none;
    border-bottom: 2px solid #EDF2F7;
    background: #F7FBFF;
    border-radius: 8px 8px 0 0;
}

#editor-container .ql-container {
    border: none;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 15px;
    min-height: 250px;
}

#editor-container .ql-editor {
    min-height: 250px;
    padding: 20px;
}

#editor-container .ql-editor.ql-blank::before {
    color: #667085;
    font-style: normal;
    font-family: "Plus Jakarta Sans", sans-serif;
}

#editor-container .ql-toolbar button:hover,
#editor-container .ql-toolbar button:focus,
#editor-container .ql-toolbar button.ql-active {
    color: #0D6CB6;
}

#editor-container .ql-toolbar .ql-stroke {
    stroke: #374151;
}

#editor-container .ql-toolbar button:hover .ql-stroke,
#editor-container .ql-toolbar button.ql-active .ql-stroke {
    stroke: #0D6CB6;
}

#editor-container .ql-toolbar .ql-fill {
    fill: #374151;
}

#editor-container .ql-toolbar button:hover .ql-fill,
#editor-container .ql-toolbar button.ql-active .ql-fill {
    fill: #0D6CB6;
}

/* Form styles */
.rbt-form-group {
    margin-bottom: 0;
}

.rbt-form-group label {
    display: block;
    margin-bottom: 10px;
}

.rbt-form-group .form-control {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #EDF2F7;
    border-radius: 8px;
    font-size: 15px;
    font-family: "Plus Jakarta Sans", sans-serif;
    transition: all 0.3s;
}

.rbt-form-group .form-control:focus {
    outline: none;
    border-color: #0D6CB6;
    box-shadow: 0 0 0 3px rgba(13, 108, 182, 0.1);
}

.rbt-form-group .form-control::placeholder {
    color: #667085;
}

/* Image preview styles */
#imagePreview .btn-close {
    opacity: 0;
    transition: opacity 0.2s;
}

#imagePreview .position-relative:hover .btn-close {
    opacity: 1;
}

.otsuka-font-xl {
    font-size: 36px !important;
}

.otsuka-font-lg {
    font-size: 20px !important;
}

.otsuka-font-l {
    font-size: 18px !important;
}

.otsuka-font-md {
    font-size: 14px !important;
}

.otsuka-font-sm {
    font-size: 12px !important;
}

.otsuka-profile-picture {
    border: 2px solid white !important;
    border-radius: 100% !important;
}

.splide__video__play {
    background: #4fb9ff !important;
    border: none !important;
    border-radius: 50%;
    height: 45px !important;
    width: 45px !important;
    opacity: 0.9;
}

.splide__video__play:after {
    border-color: transparent transparent transparent #fff !important;
}

.splide__arrow svg {
    fill: #4fb9ff !important;
}

.ql-container {
    height: auto !important;
    min-height: 150px;
    position: relative;
}

.ql-editor {
    min-height: 150px;
    height: auto;
    overflow-y: visible;
}

.ql-toolbar {
    position: relative;
    z-index: 1;
}
