.base-margin-top {
    margin-top: 115px;
}

/* login with google */
.login-with-google-btn {
    transition: background-color 0.3s, box-shadow 0.3s;
    padding: 12px 16px 12px 42px;
    border: none;
    border-radius: 3px;
    box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.04), 0 1px 1px rgba(0, 0, 0, 0.25);
    color: #757575;
    font-size: 14px;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTcuNiA5LjJsLS4xLTEuOEg5djMuNGg0LjhDMTMuNiAxMiAxMyAxMyAxMiAxMy42djIuMmgzYTguOCA4LjggMCAwIDAgMi42LTYuNnoiIGZpbGw9IiM0Mjg1RjQiIGZpbGwtcnVsZT0ibm9uemVybyIvPjxwYXRoIGQ9Ik05IDE4YzIuNCAwIDQuNS0uOCA2LTIuMmwtMy0yLjJhNS40IDUuNCAwIDAgMS04LTIuOUgxVjEzYTkgOSAwIDAgMCA4IDV6IiBmaWxsPSIjMzRBODUzIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48cGF0aCBkPSJNNCAxMC43YTUuNCA1LjQgMCAwIDEgMC0zLjRWNUgxYTkgOSAwIDAgMCAwIDhsMy0yLjN6IiBmaWxsPSIjRkJCQzA1IiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48cGF0aCBkPSJNOSAzLjZjMS4zIDAgMi41LjQgMy40IDEuM0wxNSAyLjNBOSA5IDAgMCAwIDEgNWwzIDIuNGE1LjQgNS40IDAgMCAxIDUtMy43eiIgZmlsbD0iI0VBNDMzNSIgZmlsbC1ydWxlPSJub256ZXJvIi8+PHBhdGggZD0iTTAgMGgxOHYxOEgweiIvPjwvZz48L3N2Zz4=);
    background-color: white;
    background-repeat: no-repeat;
    background-position: 12px 11px;
}

.login-with-google-btn:hover {
    box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.04), 0 2px 4px rgba(0, 0, 0, 0.25);
}

.login-with-google-btn:active {
    background-color: #eeeeee;
}

.login-with-google-btn:focus {
    outline: none;
    box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.04), 0 2px 4px rgba(0, 0, 0, 0.25), 0 0 0 3px #c8dafc;
}

.login-with-google-btn:disabled {
    filter: grayscale(100%);
    background-color: #ebebeb;
    box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.04), 0 1px 1px rgba(0, 0, 0, 0.25);
    cursor: not-allowed;
}

/* end login with google */


/* this css used for select the type of user during registration */
/* we called it 'organize page' */

.organize-list {
    list-style-type: none;
    padding: 0;
}

.organize-list-item {
    display: inline-block;
}

.organize-list-item input[type="radio"][id^="cb"] {
    display: none;
}

.organize-list-item label {
    border: 1px solid #fff;
    padding: 10px;
    display: block;
    position: relative;
    margin: 10px;
    cursor: pointer;
    text-align: center;
}

.organize-list-item label:before {
    background-color: white;
    color: white;
    content: " ";
    display: block;
    border-radius: 50%;
    border: 1px solid grey;
    position: absolute;
    top: -5px;
    left: -5px;
    width: 25px;
    height: 25px;
    text-align: center;
    line-height: 25px;
    transition: transform 0.4s;
    transform: scale(0);
}

.organize-list-item label img {
    height: 100px;
    width: 100px;
    transition: transform 0.2s;
    transform-origin: 50% 50%;
}

.organize-list-item input[type="radio"]:checked + label {
    border-color: #ddd;
}

.organize-list-item input[type="radio"]:checked + label:before {
    content: "✓";
    background-color: #bd1212;
    transform: scale(1);
    color: white;
}

.organize-list-item input[type="radio"]:checked + label img {
    transform: scale(0.9);
    box-shadow: 0 0 5px #333;
}

.rbt-dashboard-content-wrapper {
    margin-top: 120px !important;
    margin-bottom: 50px !important;
}

/* end 'organize page' */


/* Modal background */
.basic-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 991;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.basic-modal-content {
    background-color: #fff;
    margin: 8% auto;
    padding: 20px;
    width: 980px;
    height: 700px;
    border-radius: 8px;
    position: relative;
    overflow-y: auto;
}

.basic-modal-close {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
}

#view-open-modal:target {
    display: block;
}


/* this is for user dashboard download counter */

.circle-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.number-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #4285f4;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.number-circle:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* end this is for user dashboard download counter */


/* sweet alert modal css */

.universal-modal .swal2-title {
    font-size: 28px;
    padding-top: 5px;
}
.universal-modal .swal2-confirm.swal2-styled {
    font-size: 16px;
}
.universal-modal .swal2-deny.swal2-styled {
    font-size: 16px;
}
.universal-modal .swal2-actions {
    margin: 2.5em auto 1.6em;
}




.swal-wide .swal2-title {
    font-size: 3rem; /* Title size */
}

.swal2-popup.swal2-modal.swal-wide.swal2-icon-error.swal2-show {
    width: 30vw;
    border-radius: 8px;
}

.swal-wide .swal2-html-container {
    font-size: 1.8rem; /* Message text size */
}

.swal-wide .swal2-icon {
    transform: scale(1.5); /* Enlarge icon */
    margin-bottom: 10px;
    margin-top: 50px;
}

.swal-wide .swal2-confirm {
    font-size: 1.5rem; /* Button text size */
    padding: 0.75rem 1.5rem; /* Optional: enlarge button size */
    margin-bottom: 20px;
}


/* Full-screen overlay (check out page loader) */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5); /* semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.hidden {
    display: none;
}

.loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* end Full-screen overlay */


/* user dashboard subscription list page three dot icon and dropdown */
ul.dropdown-menu {
    transform: translate(-70px, 28px) !important;
    padding: 0 !important;
}

.custom-dropdown-item {
    font-weight: bold;
    font-size: 16px;
    padding: 3px 10px;
}

.hover-default:hover {
    background: #eee;
    cursor: pointer;
}

.hover-success:hover {
    cursor: pointer;
    background-color: var(--color-success);
    color: var(--color-white);
}

.hover-warning:hover {
    cursor: pointer;
    background-color: var(--color-warning);
    color: var(--color-black);
}

.hover-danger:hover {
    cursor: pointer;
    background-color: var(--color-danger);
    color: var(--color-white);
}

button#dropdownMenuButton {
    font-size: 14px;
}

/* end three dot icon and dropdown */


/* Modal CSS */
.modal-body {
    font-size: 20px;
    font-weight: bold;
}

.btn-close-white {
    filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
}

.modal-button {
    font-size: 14px;
    font-weight: bold;
}


/* custom box for all resource page -  mainly the accordion is not working properly*/
.clickable {
    cursor: pointer;
}

.merit-menu-box {

}

.merit-menu-item {
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, .125);
}

.merit-menu-header {
    margin-bottom: 0;
}

.merit-menu-header .active {
    color: #339E53;
    background-color: rgba(224, 242, 233, 0.49);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
}

.menu-button {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    font-weight: bold;
    padding: 1rem 1.25rem;
    font-size: 15px;
    color: #212529;
    text-align: left;
    background-color: #fff;
    border: 0;
    border-radius: 0;
    overflow-anchor: none;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out, border-radius .15s ease;
}

.merit-menu-dropdown-box {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.merit-menu-dropdown-box.show {
    max-height: 500px; /* adjust based on content height */
}

.merit-menu-body {
    padding: 1rem 1.25rem;
}

/* for resource details page*/
.my-padding {
    padding: 60px 0 100px 0 !important;
}

.my-download-button {
    margin-top: 50px;
}

.bridge-box {
    height: 80vh;
    overflow-y: auto;
    margin-top: 30px;
}

/* cart increment buttons */
.cart-quantity-input {
    height: 40px !important;
    border: none !important;
    text-align: center;
}

.cart-section {
    border: 1px solid var(--color-border);
    border-radius: 5px;
}

.cart-section button {
    padding: 10px;
    border: none;
    color: var(--color-body);
}

.cart-section button:focus {
    border: none;
    box-shadow: none;
    color: var(--color-body);
}

.cart-section button:hover {
    background: transparent;
    border-color: var(--color-border);
    color: var(--color-body);
}

.form-control.cart-quantity-input[readonly] {
    background-color: transparent !important;
}

/* Horizontal progress line */

.progress-meter {
    padding: 0;
}

ol.progress-meter {
    padding-bottom: 9.5px;
    list-style-type: none;
}

ol.progress-meter li {
    display: inline-block;
    text-align: center;
    text-indent: -19px;
    height: 36px;
    width: 24.99%;
    font-size: 12px;
    border-bottom-width: 4px;
    border-bottom-style: solid;
}

ol.progress-meter li:before {
    position: relative;
    float: left;
    text-indent: 0;
    left: -webkit-calc(50% - 9.5px);
    left: -moz-calc(50% - 9.5px);
    left: -ms-calc(50% - 9.5px);
    left: -o-calc(50% - 9.5px);
    left: calc(50% - 9.5px);
}

ol.progress-meter li.done {
    font-size: 12px;
}

ol.progress-meter li.done:before {
    content: "✓";
    height: 19px;
    width: 19px;
    line-height: 21.85px;
    bottom: -28.175px;
    border: none;
    border-radius: 19px;
}

ol.progress-meter li.todo {
    font-size: 12px;
}

ol.progress-meter li.todo:before {
    content: "⬤";
    font-size: 17.1px;
    bottom: -26.95px;
    line-height: 18.05px;
}

ol.progress-meter li.done {
    color: black;
    border-bottom-color: yellowgreen;
}

ol.progress-meter li.done:before {
    color: white;
    background-color: yellowgreen;
}

ol.progress-meter li.todo {
    color: silver;
    border-bottom-color: silver;
}

ol.progress-meter li.todo:before {
    color: silver;
}

/* past paper section */
.fixed-scrolling {
    overflow-y: auto;
    height: 70vh;
}

.paper-zone {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

/* past paper view pdf */
.anchor-item {
    border: 1px solid;
    padding: 5px 5px 5px 5px;
    border-radius: 7px;
}

.past-paper-button {
    background: transparent;
    padding: 14px 20px;
    border-radius: 15px;
    color: #394381;
    font-size: 18px;
    border-color: transparent;
    font-weight: 600;
    transition: 0.2s;
}

.past-paper-button:hover {
    color: white;
    background: #394381;
}

.big-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* semi-transparent black */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.overlay-text {
    color: white;
    font-size: 2em;
    font-family: Arial, sans-serif;
    text-align: center;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2em;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
}

.close-btn:hover {
    color: #ff4c4c;
}

#pdfFrame {
    width: 80vw !important;
}


