.videoGrid {
    margin-inline: auto;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    z-index: 1;
    gap: 20px;
    opacity: 0.8;
}

.video-js{
    object-fit: cover !important;
}

.video-item {
    border-radius: 10px;
    border: 1px solid black; /* Add this line to set the border style and color */
    background-color: white;
    /*padding: 20px;*/
    height: 230px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.5s cubic-bezier(0, 0, 0.5, 0.8) 0s, opacity 0.4s ease-in 0s;
}


.video-item video {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    max-width: 100%;
    border-color: black;
    display: flex;
    margin: 0 auto;
    align-content: center;
}

.pagination {
    margin-top: 20px;
}

.pagination button {
    margin-right: 5px;
    cursor: pointer;
}

.button-with-black-text {
    color: black;
}

/* Added styling to display dropdowns inline */
label, select {
    display: inline-block;
    margin: 5px;
    color: #fff;
}

select {
    color: white;
}

.price_input_label {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
}

.price_input_label:hover {
    background-color: #f5f5f5;
}

#other-input {
    width: 140px;
    padding: 2px 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
    display: none;
}

input[type="radio"] {
    margin-right: 5px;
}

.tabs {
    display: flex;
    margin-bottom: 1px;
    width:100%;
}

.tab-button{
    width:100%;
}
/* Responsive split container */
.responsive-split-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
}

.fa-reply{
    color: #fff;
}

@media (max-width: 768px) {
    .responsive-split-container {
        flex-direction: column;
    }

    .comments-container {
        max-width: 100%;
    }

    .video-container {
        width: 150vw; /* Full viewport width */
        position: relative; /* Needed for proper positioning */
        left: 60%; /* Shift left edge to center */
        transform: translateX(-60%); /* Pull back by 50% of its own width */
        border-radius: 0; /* Remove rounded corners */
        overflow: hidden; /* Prevent content from overflowing */
    }

}

/* Video container */
.video-container {
    flex: 1;
    min-width: 0; /* Prevent flex item from overflowing */
}

/* Comments container */
.comments-container {
    flex: 0 0 400px;
    background: #262643 !important;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    font-family: 'Arial', sans-serif;
    border: 1px solid #4C8EFF;
}

#donation-tab{
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

#comments-tab{
    border-top-left-radius: 10px;
    border-top-right-radius: 0px;
}

.tab-button {
    padding: 8px 15px;
    border: none;
    background-color: #f0f0f0;
    cursor: pointer;

}

#myTab{
    padding: 15px;
    gap: 10px;
}

.custom-button {
    color: white;
    background: none;
    border: 1px solid white !important;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.custom-button:hover {
    background-color: #3A3F7A;
    color: white;
    border-color: #3A3F7A;
}

.nav-tabs{
    border-bottom: none !important;
}

.tab-button.active {
    background-color: #007bff;
    color: white;
}

.tab-content {
    padding: 0px 8px 4px 8px;
    border-radius: 5px;
}

.comments-list{
    height:45vh;
}

.custom-input {
    background-color: #262643;
    color: white;
    border: none;
}

.custom-input::placeholder {
    color: white;
    opacity: 0.8;
}

.custom-input:focus {
    background-color: #2563EB;
    color: white;
    box-shadow: none;
}


/* Define split-pane layout */
.split-pane {
    display: flex;
    width: 100%;
    gap: 20px; /* Adjust the gap between grid items */
}

.card-body {
    padding-top: 2rem !important;
}

.left-pane {
    flex: 1;
    padding: 20px;
    border-radius: .5rem;
    border: 1px solid #ccc;
}

.reply{
    padding-bottom: 0px;
    padding-top: 5px;
    background: #0000ff08;
    margin-left: 16px;
}

.right-pane {
    flex: 2;
    padding: 20px;
    text-align: center;
    overflow: hidden;
    border: 1px solid #ccc;
    border-radius: .5rem;
}

.video-container {
    text-align: center;
    overflow: hidden;
    border-radius: 15px !important;
    border: 1px solid #4C8EFF !important;
}

.video-container video {
    max-width: 100%;
    display: block;
    background-color: #bcbebf;
    margin: 0 auto;
}

/*  Comment section Css */
.comments-container {
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    max-width: 500px;
    width: 100%;
    font-family: 'Arial', sans-serif;
}

.comments-list::-webkit-scrollbar {
    display: none;
}

.donation-header{
    font-size:19px;
    text-align: center;
    margin-bottom:5px;
    font-weight: 600;
    color: #fff;
}

.manually-donation-heading{
    margin:0px !important;
    font-size: 19px;
    text-align: left;
    font-weight: 600;
}

.donation-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns */
    gap: 5px; /* spacing between items */
}

.price_input_label label{
    margin-bottom:0 !important;
}

.price_input_label {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f5f5f5;
    padding: 4px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

/* #other-container {
    grid-column: span 2;
    min-width: 180px; 
} */


.price_input_label:hover {
    background: #e9e9e9;
}

.price_input_label input[type="radio"] {
    margin: 0;
}

@media (max-width: 600px) {
    .donation-options {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
    }
}

.price_input_label{
    display:flex;
}

.donation-options label {
    margin-right: 10px;
}

.switch-label-head{
    text-align:left;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.switch {
    position: relative;
    display: inline-block;
    width: 34px;
    margin-top:5px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: gray;
    transition: .4s;
    border-radius: 20px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #007bff;
}

input:checked + .slider:before {
    transform: translateX(14px);
}

input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px; /* Adjust the size */
    height: 20px;
    border: 2px solid #333;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
}

input[type="radio"]:checked::before {
    content: "";
    width: 10px; /* Adjust the inner circle size */
    height: 10px;
    background: #007bff;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#manual-donation-box{
    margin:20px 0px;
}

.custom-pay-btn{
    width:100%;
    background: white !important;
}

.event_card_parent{
    text-decoration:none;
}

.event_card_parent:hover{
    text-decoration:none;
    color:black;
}

#futureEventsContent{
    position: relative;
}

.comments-header {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
}

.comments-list {
    max-height: 400px;
    flex: 1;
    overflow-y: auto;
    margin-bottom: 25px;
    padding: 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}

.comments-list::-webkit-scrollbar {
    width: 8px;
}

.comments-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
}

.comments-list::-webkit-scrollbar-thumb {
    background-color: #6c757d;
    border-radius: 5px;
    border: 2px solid #f1f1f1;
}

.comments-list::-webkit-scrollbar-thumb:hover {
    background-color: #495057;
}


.comment {
    display: flex;
    gap: 15px;
    padding: 12px 15px;
    transition: background-color 0.3s ease;
}

.comment-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
    border: 2px solid #fff;
}

.comment-content {
    flex: 1;
    position:relative;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #555;
}

.comment-author {
    font-weight: bold;
    color: #fff;
}

.comment-time {
    font-size: 0.8rem;
    color: #fff;
}

.comment-text {
    font-size: 1rem;
    color: #888;
    line-height: 1.5;
    text-align: justify;
}

.comment-input {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #ddd;
    padding: 12px;
    margin-bottom: 15px;
    font-size: 1rem;
    resize: vertical;
}

.submit-button {
    width: 100%;
    background-color: #007bff;
    border: none;
    color: white;
    padding: 12px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #0056b3;
}

.reply-btn{
    right: 0px;
    bottom: -8px;
    position: absolute;
    border: none;
    background: no-repeat
}

.container {
    max-width: 1290px;
}

.previouslyViewed_Furture_event_dev {
    margin: 20px 10px 35px;
    position: relative;
    color: #fff;
}

.custome_dev {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0 0px;
    scrollbar-width: none;
    max-width:1060px;
    margin: 0 auto;
    white-space: nowrap;
}

.custome_dev::-webkit-scrollbar {
    display: none;
}

.video-card {
    width: 100%;
    flex: 0 0 auto;
    border: none;
    cursor:pointer;
    display: inline-block;
}

.video-card img{
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 8px;
    }

.video-thumbnail {
    width: 100%;
    height: 140px;
    border-radius: 8px;
    }

.video-card{
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
}

.name_and_watch_count{
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.video-body {
    padding: 15px 0px;
    text-align: center;
}

.card-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 4px;
}

.card-text {
    font-size: 12px;
}

/* Carousel Buttons */
.carousel-btn {
    position: absolute;
    top: 56%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 50%;
    z-index: 10;
}

.card{
    width:100% !important;
}

.prev { left: 5px; }
.next { right: 5px; }
.carousel-btn:hover { background: rgba(0, 0, 0, 0.8); }

/* events section css */
.event-card {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.event-card img {
    width: 100%;
    height: 170px;
    object-fit: cover; /* Ensures the image maintains aspect ratio and fills the container */
    border-radius: 8px; /* Optional: Adds rounded corners */
}

.event-body {
    padding: 15px 0px 0px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    color: #fff;
}

.event-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.event-text {
    font-size: 14px;
}

.event-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.event-btn:hover {
    background: #0056b3;
}

.donation-content-area{
    display: flex;
    width:100%;
    flex-direction: column;
    gap: 4px;
}

.price_input_label label{
    margin-top:5px;
}

.card-payment-form{
    margin-top:0px !important;
}

.card_selection_div{
    margin-bottom: 0px;
    align-items: center;
    border: 1px solid #dcdcdc;
    padding: 8px;
    border-radius: 6px;
    color: #fff !important;
}

.radio_btn_content{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#card-radio{
    margin-right: 10px;
    border-color: #fff;
    }

.debit_credit_heading{
    font-weight: 500;
    font-size:15px;
}

.follow-btn {
    background-color: #007bff;
    color: #fff;
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
    border: none !important;
}

.follow-btn:hover {
    background-color: #fff;
    color: #007bff;
}

.fee_apply_text{
    color:#fff;
    font-size:12px;
}

.card_images{
    display:flex;
}

.card_img{
    width: 40px;
    height: 40px;
}

hr{
    margin:0px !important;
}

.cvv_input_field{
    width:100%;
    flex: 1;
    padding: 8px;
}

.payment-btn{
    position:relative;
}

#paypal-radio{
    top: 7px;
    z-index: 9999;
    left: 14px;
    position: absolute;
}

.ButtonContainer--pay{
    display:none;
}

#gpay-radio{
    margin-left:13px;
}

.gpay-button {
    background-color:white;
    border: none;
    border-radius: 4px;
    color: black;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.25);
    width:100%;
}

.gpay-button:hover {
    background-color: #007bff;
    color:#fff;
 }

.gpay-button:hover .gpay-logo{
    background:#007bff;
}

.gpay-button:active {
    background-color: #2A56C6;
}

.gpay-button:hover .st14{
    fill: #fff !important;
}

.gpay-logo {
    width: 40px;
    height: 37px;
    background-color: white;
    border-radius: 2px;
    padding: 4px;
}


.devotional-card {
    background-color: #0e0e24; /* dark navy background */
    padding: 18px;
    border-radius: 12px;
    color: #d9d9e3;
    max-width: 830px;
    font-family: 'Segoe UI', sans-serif;
    display: flex;
    justify-content: space-between;
}

.devotional-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 6px;
}

.devotional-description {
    color: #aaa;
    font-size: 14px;
    margin-bottom: 20px;
}

.devotional-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap:25px;
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-name {
    margin: 0;
    font-weight: 600;
    color: #fff;
    font-size: 14px;
}

.followers {
    margin: 0;
    color: #bbb;
    font-size: 13px;
}

.comments-toggle,
.donation-toggle {
    display: none;
}

#donation-section{
    display: block;
}

.landscape_icon_x{
    display: none;
    position: absolute;
    right: 10px;
    color: red;
    font-size: 20px;
    top: -2px;
}


@media screen and (max-width:1600px){
    .video-js{
        object-fit: cover !important;
    }

    .vjs-tech{
         object-fit: cover !important;
    }
}

@media screen and (max-width: 540px){
    .video_parent {
        position: static !important;
        border-radius: 0px !important;
    }

    .previouslyViewed_Furture_event_dev{
        margin: 20px 0px 35px;
    }

    .prev{
        left: -5px;
    }

    .next{
        right: -4px;
    }

    .col-md-4 .video-card{
        width: 280px;
    }

    .video-js {
        position: relative !important;
        height: 230px !important;
    }

    .carousel-btn{
        background: none;
    }

    .event_card_parent .event-card{
        width: 280px;
    }

    .card-body{
        padding: 0px !important;
    }

    .video-container{
        border: none !important;
        border-radius: 0px !important;
    }

    .custome_dev{
        max-width: 400px;
        margin: 0 27px;
    }

    #comments-section,
    #donation-section {
        display: none;
    }
        

    #comments-section.show,
    #donation-section.show {
        display: block;
    }

    .comments-toggle,
    .donation-toggle {
        display: inline-block;
    }

    .comments-container{
        flex: 0 0 auto;
        border-radius: 0px !important;
    }

    #comments-tab{
        border-top-left-radius: 0px;
        border-top-right-radius: 0px;
    }

    #donation-tab {
        border-top-left-radius: 0px;
        border-top-right-radius: 0px;
    }
}

@media screen and (max-width: 932px) and (orientation: landscape) {
    body:not(.disable-landscape-media) .responsive-split-container {
        display: block;
        position: relative;
    }

    body:not(.disable-landscape-media) .video-js .vjs-tech {
        height: 310px !important;
    }

    body:not(.disable-landscape-media) .card-body {
        padding-top: 1rem !important;
    }

    body:not(.disable-landscape-media) .vjs-tech {
        object-fit: contain !important;
    }

    body:not(.disable-landscape-media) .tabs {
        position: absolute;
        bottom: 2px;
        z-index: 99999;
        right: 0px;
        width: 41%;
    }

    body:not(.disable-landscape-media) .tab-button.active {
        border: 1px solid white;
        background-color: #dddada33;
        color: white;
    }

    body:not(.disable-landscape-media) .tab-button {
        color: #fff;
        padding: 8px 15px;
        border: none;
        background-color: #dddada33;
        cursor: pointer;
    }

    body:not(.disable-landscape-media) .tab-content {
        display: none !important;
    }

    body:not(.disable-landscape-media) .like-container {
        top: 10px !important;
        right: 20px !important;
    }

    #donation-tab {
        border-bottom-right-radius: 12px;
        border-top-left-radius: 0px;
        border-top-right-radius: 10px;
    }

    .logo_link img{
        height: 40px !important;
    }

    .fa-bars{
        font-size: 25px !important;
    }

    .navbar{
        min-height: 30px;
    }

    #profile-btn img{
        width: 35px !important;
        height: 35px !important;
    }

    .bi-bell{
        font-size: 20px;
    }

    #notification-ball{
        top: 0px;
    }

    .search-box input{
        padding: 0px 10px 2px 35px;
    }

    .sidebar{
        top: 58px;
    }

    .landscap_sc{
        margin-top: 3rem !important;
    }

    .sidebar.collapsed{
        width: 75px;
    }

    .main-content.expanded{
        margin-left: 80px;
    }
}
