@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

.btn-color {
    background-color: #4679a8 !important;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    padding: 4px 20px;
    border-radius: 10px;
    max-width: 100%;
    margin: 0;
    /*margin-bottom: 0 !important;*/
}

.left {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    display: flex;
    align-items: center;
    font-size: 17px;
    font-weight: 400;
    color: #56575a;
}

.left i {
    color: #477aa9;
    margin-right: 8px;
}

.right img {
    height: 60px;
}

.dashboard {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.dashboard-card {
    background-color: #e9298d;
    color: white;
    padding: 20px 30px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 200px;
    flex: 1;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.column {
    width: 50%;
}

.column div {
    text-align: center;
    font-size: 10.5px;
    font-weight: 500;
}

.dashboard-card .count {
    font-size: 34px !important;
    font-weight: 600;
}

.card .column {
    text-align: center;
    flex: 1;
}

.divider {
    height: 100px;
    width: 1px;
    background-color: white;
    margin: 0 20px;
}

.webinar-card {
    background-color: white;
    display: flex;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    flex: 2;
    min-width: 200px;
}

.webinar-icon {
    height: 100%;
    /* background-color: #15496b;
    padding: 10px; */
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.webinar-icon {
    font-size: 30px;
    color: white;
}

.webinar-details {
    margin: 0 20px;
    display: flex;
    flex-direction: column;
}

.webinar-details h3 {
    font-size: 28px;
    margin: 0 0 10px 0;
    color: #15496b;
    font-weight: 600;
}

.webinar-details span {
    font-size: 26px;
    color: #56575a;
}

.owl-item {
    height: 330px !important;
}

/* Base styles (mobile-first) */
.video-card-container {
    width: 100%;
    box-sizing: border-box;
}

.video-card {
    width: 100%;
    max-width: 280px;
    /* Set a max-width for larger screens */
    margin: 0 auto;
    /* Center the card */
    background: #fff;
    border-radius: 10px;
    box-shadow: 3px 5px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.video-badge {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #E9298D;
    color: white;
    padding: 6px 20px;
    font-size: 12px;
    border-radius: 10px 0 10px 0;
    z-index: 1;
}

.video-badge-disable {
    background-color: #828282;
    position: absolute;
    top: 0;
    left: 0;
    padding: 6px 20px;
    font-size: 12px;
    color: white;
    border-radius: 10px 0 10px 0;
    z-index: 1;
}

.video-content {
    position: relative;
    width: 100%;
}

.video-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    /* Ensures image scales properly */
}

.play-button {
    position: absolute;
    top: 50%;
    /* Adjusted to center vertically */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    /* Smaller for mobile */
    height: 50px;
    border: solid 3px rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 2;
}

.play-button .triangle {
    width: 0;
    height: 0;
    border-left: 12px solid white;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
}

.video-text p {
    font-weight: 500;
    padding: 10px;
    text-align: justify;
    color: #56575a;
    font-size: 12px;
}

.view-button {
    text-align: center;
    display: block;
    width: 37%;
    margin: 6px 10px 10px 0;
    padding: 5px;
    background-color: #e9298d;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 12px;
    float: right;
}

.view-button:hover {
    color: white;
}

.view-button-disable:hover {
    color: white;
}

.view-button-disable {
    text-align: center;
    display: block;
    width: 40%;
    margin: 6px 10px 10px 0;
    padding: 5px;
    background-color: #818181;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 12px;
    float: right;
}

/* Webinar-specific styles */
.webinar-video-badge-live {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #00ad29;
    color: white;
    padding: 8px 40px;
    font-size: 14px;
    border-radius: 10px 0 10px 0;
    z-index: 1;
}

.webinar-view-button-disable:hover {
    color: white;
}

.webinar-view-button-live:hover {
    color: white;
}

.webinar-view-button-live {
    text-align: center;
    display: block;
    width: 40%;
    margin: 6px 10px 10px 0;
    padding: 5px;
    background-color: #00ad29;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    float: right;
}

/* Media Queries for Larger Screens */
@media (min-width: 768px) {
    /* Tablet and up */
    .video-card {
        max-width: 280px;
    }

    .video-badge,
    .video-badge-disable,
    .Webinar-video-badge-disable {
        padding: 8px 40px;
        font-size: 14px;
    }

    .play-button {
        width: 70px;
        height: 70px;
        border-width: 4px;
    }

    .play-button .triangle {
        border-left: 17px solid white;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
    }

    .video-text p {
        padding: 15px 15px 20px 15px;
        font-size: 14px;
    }

    .view-button,
    .view-button-disable,
    .Webinar-view-button-disable {
        margin: 6px 12px 12px 0;
        padding: 5px;
        font-size: 14px;
    }
}

@media (min-width: 1200px) {
    /* Desktop */
    .video-card {
        max-width: 300px;
        /* Slightly larger for desktop */
    }
}

/* case */
.btn-container {
    width: 100%;
    align-items: center;
    justify-content: space-between;
    display: flex;
}

.score-card-btn {
    display: block;
    float: right;
    width: 40%;
    margin: 6px 12px 12px 0;
    padding: 5px;
    background-color: #E9298D;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
}

.score-card-btn:hover{
    color: white;
}

.review-btn {
    display: block;
    float: right;
    width: 40%;
    margin: 6px 12px 12px 12px;
    padding: 5px;
    background-color: #E9298D;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
}

.review-btn:hover{
    color: #ffffff;
}

.case-badge-disable {
    position: absolute;
    top: 0px;
    left: 0px;
    background-color: #818181;
    color: white;
    padding: 8px 40px;
    font-size: 14px;
    border-radius: 10px 0 10px 0;
    z-index: 1;
}

.access-btn-disable {
    display: block;
    float: right;
    width: 40%;
    margin: 6px 12px 12px 0;
    padding: 5px;
    background-color: #818181;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
}

/* sidebar */
.skin-black .main-sidebar {
    background-color: #E9F9FF !important;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

/* sidebar active */

.active {
    color: #1A4681 ;
}

/* yahya css start */
.d-flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.justify-content-center {
    justify-content: center;
}

.align-items-center {
    align-items: center;
}

.custom-dropdown {
    float: none !important;
    position: static !important;
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding-left: 36px !important;
    list-style: circle !important;
}

.custom-dropdown li::marker {
    font-size: 25px !important;
}

.custom-dropdown a {
    font-weight: 400 !important;
    font-size: 18.5px !important;
}

/* .quiz-slider-section {
} */

.owl-carousel .custom-prev {
    border-right: 24px solid #353c45;
    border-bottom: 23px solid transparent;
    border-top: 23px solid transparent;
    margin-top: -50px;
}

.owl-carousel .custom-next {
    border-left: 24px solid #353c45;
    border-bottom: 23px solid transparent;
    border-top: 23px solid transparent;
    margin-top: -50px;
}

.owl-theme .owl-nav .disabled {
    opacity: 1;
}

.dr-greeting p {
    margin-bottom: 0;
}

.dr-greeting h4 {
    margin-top: 0;
    margin-bottom: 18px;
}

.dr-greeting p,
.dr-greeting h4 {
    padding: 0 15px;
    font-size: 20px;
    font-family: "Roboto", sans-serif;
    color: #353c46;
}

.quiz-carousel.owl-carousel .owl-nav button.owl-prev {
    left: -32px;
}

.quiz-carousel.owl-carousel .owl-nav button.owl-next {
    right: -32px;
}

.sidebar-mini.sidebar-collapse .sidebar-menu {
    padding-left: 0;
}

.sidebar-mini.sidebar-collapse .main-sidebar .dr-greeting {
    display: none;
}

/* yahya css end */

/* mediaQuerry */
@media (max-width: 1500px) {
    .webinar-details h3 {
        font-size: 22px;
    }

    .webinar-details span {
        font-size: 22px;
    }
}

@media (max-width: 1400px) {
    .ad-logo {
        margin: 0 20px;
    }
}

@media (max-width: 768px) {
    .admin-side .main-sidebar {
        padding-top: 30px !important;
    }

    body.skin-black .main-header > .logo {
        background-color: transparent;
    }
}

@media (max-width: 576px) {
    .webinar-details span {
        font-size: 18px;
    }
}

li:hover .icon-hover {
    filter: brightness(0) saturate(100%) invert(25%) sepia(91%) saturate(4200%)
        hue-rotate(306deg) brightness(95%) contrast(94%);
}

.icon-hover-header {
    filter: brightness(0) saturate(100%) invert(25%) sepia(91%) saturate(4200%)
        hue-rotate(306deg) brightness(95%) contrast(94%);
}

.video-webinar-goBack {
    display: flex;
    font-size: 1.2em;
    flex-direction: column-reverse;
}

.title_description {
    margin-right: 6px;
}
.title_description h1 {
    margin: 1% 0;
    text-align: left;
    font-size: 1.3em;
    font-weight: bold;
}

.title_description p {
    font-size: 0.9em;
}
