.jitsi-toolkit-meeting{
    min-height: 100%;
    width: 100vw;
    font-size: 1rem;
    position: relative;
}

.jitsi-toolkit-meeting .main-wrapper{
    padding: 10rem 0;
}

.jitsi-toolkit-meeting .user-profile{
    float: right;
    padding-top: 20px;
    padding-right: 20px;
    cursor: pointer;
}

.jitsi-toolkit-meeting .user-profile .profile-img{
    border-radius: 50%;
    border:2px solid #ddd;
}

.jitsi-toolkit-meeting .jitsi-toolkit-meeting-wrapper{
    display: flex;
}

.jitsi-toolkit-meeting .jitsi-toolkit-meeting-wrapper .left-wrapper{
    padding: 0 30px;
    width: 50%;
    padding: 0 5rem;
}

.jitsi-toolkit-meeting .jitsi-toolkit-meeting-wrapper .right-wrapper{
    width: 45%;
}

.jitsi-toolkit-meeting .title {
    font-family: "Google Sans Display",Roboto,Arial,sans-serif;
    line-height: 3.25rem;
    font-size: 2.75rem;
    letter-spacing: 0;
    font-weight: 400;
    padding-bottom: 0.5em;
}

.jitsi-toolkit-meeting .description {
    font-family: "Google Sans",Roboto,Arial,sans-serif;
    line-height: 1.5rem;
    font-size: 1.125rem;
    letter-spacing: 0;
    font-weight: 400;
    color: rgb(95,99,104);
    padding-bottom: 3em;
}

.jitsi-toolkit-meeting .meeting-btn {
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    padding: 15px 15px;
    background-color: #007bff;
    letter-spacing: normal;
}
.jitsi-toolkit-meeting .meeting-btn:hover {
    background-color: #006adde8;
}

.jitsi-toolkit-meeting .meeting-btn .meet-icon {
    margin-right: 10px;
    font-size: 22px;
}

/* Add these styles to your theme's stylesheet or in a style tag in the header */
.jitsi-toolkit-meeting .meeting-btn-wrapper {
    position: relative;
}

.jitsi-toolkit-meeting .meeting-option-wrapper {
    display: none;
    position: absolute;
    top: -2px;
    left: 0;
    z-index: 1;
    width: fit-content; /* Adjust width as needed */
    box-shadow: 0 3px 5px -1px rgba(0,0,0,.2), 0 6px 10px 0 rgba(0,0,0,.14), 0 1px 18px 0 rgba(0,0,0,.12);
    padding: 10px 0px;
    background-color: #fff;
    border-radius: 5px;
}

.jitsi-toolkit-meeting .meeting-option-wrapper ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.jitsi-toolkit-meeting .meeting-options li {
    padding: 10px 20px;
    cursor: pointer;
    font-family: Roboto,Arial,sans-serif;
    line-height: 1.5rem;
    font-size: 1rem;
    letter-spacing: .00625em;
    font-weight: 400;
    color: #000;
}

.jitsi-toolkit-meeting .meeting-options li .dashicons {
    margin-right: 10px;
}

.jitsi-toolkit-meeting .meeting-options li:hover {
    background-color: #ddd;
}

.jitsi-toolkit-meeting .meeting-option-wrapper.show-options {
    display: block;
}


/* Add this CSS in your stylesheet or in a <style> tag in your HTML */

.jitsi-toolkit-meeting  .meeting-list {
    margin-top: 5rem;
}

.jitsi-toolkit-meeting  .meeting-list h2{
   text-align: center;
   color:#585858;
}

.jitsi-toolkit-meeting  .meetings-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.jitsi-toolkit-meeting  .meetings-table th,
.jitsi-toolkit-meeting  .meetings-table td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: center; /* Center the content in the table cells */
}

.jitsi-toolkit-meeting  .meetings-table thead {
    background-color: #f2f2f2;
}

/* Exclude the following rule for the table body */
.jitsi-toolkit-meeting  .meetings-table tbody td[data-label]:before {
    content: none;
}

.jitsi-toolkit-meeting  .meetings-table a.join-meeting {
    display: inline-block;
    padding: 4px 12px; 
    background-color: #4caf50;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}

.jitsi-toolkit-meeting  .meetings-table a.join-meeting:hover {
    background-color: #45a049;
}

.jitsi-toolkit-meeting .meetings-table a.join-meeting:hover {
    background-color: #45a049;
}

.jitsi-toolkit-meeting .meetings-table a.cs-jitsi-delete-meeting {
    display: inline-block;
    padding: 4px 12px; 
    background-color: #ff5252; /* Red color, you can change this */
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.jitsi-toolkit-meeting .meetings-table a.cs-jitsi-delete-meeting:hover {
    background-color: #ff0000; /* Darker red color on hover, you can change this */
}

.jitsi-toolkit-meeting .hide-meeting-list { display: none; }
.jitsi-toolkit-meeting .hide-banner { display: none; }

/* Updated popup styles with fixed header and footer */
#scheduledMeetingPopup, #recurringMeetingPopup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

#scheduledMeetingPopup .popup-wrapper, #recurringMeetingPopup .popup-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

#scheduledMeetingPopup .popup-overlay, #recurringMeetingPopup .popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.popup-modal {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 2;
    position: relative;
    width: 600px; /* Fixed width */
    max-width: 90%; /* Responsive limit */
    margin: 0 auto; /* Center the popup horizontally */
    max-height: 85vh; /* Max height 85% of viewport */
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Hide overflow for fixed header/footer */
}

/* Header section - fixed at top */
.popup-header {
    padding: 20px;
    border-bottom: 1px solid #e5e5e5;
    position: relative;
}

.popup-title {
    font-size: 24px;
    color: #333;
    text-align: center;
    margin: 0;
    padding: 0;
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: #000;
    transition: 0.3s;
    z-index: 3;
}

.close-popup:hover {
    color: #ff0000;
}

/* Content section - scrollable */
.popup-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    max-height: calc(85vh - 140px); /* Subtract header and footer heights */
}

/* Footer section - fixed at bottom */
.popup-footer {
    padding: 15px 20px;
    border-top: 1px solid #e5e5e5;
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
}

/* Button styling in footer */
.button-group {
    display: flex;
    justify-content: center;
}

.create-meeting-btn,
.cancel-meeting-btn {
    display: inline-block;
    padding: 10px 20px;
    margin: 0 10px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    border: none;
}

.create-meeting-btn {
    background-color: #007bff;
    color: #fff;
    margin-right: 10px !important;
    letter-spacing: normal;
}

.create-meeting-btn:hover {
    background-color: #0056b3;
    color: #fff;
}

.cancel-meeting-btn {
    letter-spacing: normal;
    background-color: #ccc;
    color: #000;
}

.cancel-meeting-btn:hover {
    background-color: #bbb;
    color: #000;
}

/* Form styling */
#scheduledMeetingForm, #recurringMeetingForm {
    margin: 0;
}

/* Updated form group styling with left labels and right fields */
.form-group {
    display: flex;
    margin-bottom: 15px;
    align-items: flex-start;
    text-align: left;
}

.form-group label {
    flex: 0 0 35%; /* Label takes 35% of the width */
    font-size: 14px;
    font-weight: 500;
    padding-top: 10px;
    padding-right: 10px;
}

.field-container {
    flex: 0 0 65%; /* Field takes 65% of the width */
    display: flex;
    flex-direction: column;
}

.field-description {
    font-size: 12px;
    color: #777;
    margin-top: 4px;
    font-style: italic;
}

/* Input styling */
#scheduledMeetingPopup input[type="text"],
#scheduledMeetingPopup input[type="number"],
#recurringMeetingPopup input[type="text"],
#recurringMeetingPopup input[type="number"],
#scheduledMeetingPopup select,
#recurringMeetingPopup select {
    padding: 10px;
    border-radius: 3px;
    border: 1px solid #d1dbe8;
    width: 100%;
    font-size: 14px;
}

#scheduledMeetingPopup input[type="text"]:focus,
#scheduledMeetingPopup input[type="number"]:focus,
#recurringMeetingPopup input[type="text"]:focus,
#recurringMeetingPopup input[type="number"]:focus,
#scheduledMeetingPopup select:focus,
#recurringMeetingPopup select:focus {
    border: 1px solid #2271b1;
    outline: none; 
}

/* Switch styling (toggle buttons) */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
    margin-top: 5px;
}

.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    transform: translateX(30px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Additional styling for fields in day, week, month, year sections */
#dailyFields, #weeklyFields, #monthlyFields, #yearlyFields {
    margin-top: 10px;
    margin-bottom: 10px;
    padding-top: 10px;
    /* border-top: 1px solid #eee; */
}

/* time counter */
.jitsi-frontend-addon-countdown {
    display: flex;
    flex-wrap: wrap;
}
  
.jitsi-frontend-addon-countdown .jitsi-countedown-block {
    flex-grow: 1;
    line-height: 1;
    font-weight: 700;
    font-size: 22px;
    justify-content: space-between;
}
  
.jitsi-frontend-addon-countdown .jitsi-countedown-block .jitsi-countdown-label {
    display: block;
    line-height: 1;
    font-weight: 400;
    font-size: 14px;
    margin-top: 5px;
}

/* New Badge for Whiteboard */
.new-badge {
    background-color: #4CAF50;
    color: white;
    font-size: 10px;
    padding: 3px 6px;
    border-radius: 10px;
    margin-left: 8px;
    display: inline-block;
    font-weight: bold;
    text-transform: uppercase;
}

/* Add these styles to your CSS file */

/* Delete confirmation popup styles */
#deleteConfirmationPopup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
}

#deleteConfirmationPopup .popup-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

#deleteConfirmationPopup .popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

#deleteConfirmationPopup .delete-confirm-modal {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    z-index: 2;
    position: relative;
    width: 400px;
    max-width: 90%;
    text-align: center;
    padding: 20px;
}

#deleteConfirmationPopup .delete-popup-header {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

#deleteConfirmationPopup .popup-title {
    font-size: 22px;
    margin: 0;
    color: #333;
    font-weight: 500;
}

#deleteConfirmationPopup .close-popup {
    position: absolute;
    top: -5px;
    right: 0;
    font-size: 40px;
    cursor: pointer;
    color: #999;
}

#deleteConfirmationPopup .close-popup:hover {
    color: #ff0000;
}

#deleteConfirmationPopup .delete-x-icon {
    margin: 10px auto 20px;
    width: 90px;
    height: 90px;
}

#deleteConfirmationPopup .confirmation-message {
    font-size: 16px;
    margin: 20px 0;
    color: #333;
}

#deleteConfirmationPopup .delete-popup-footer {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

#deleteConfirmationPopup .delete-meeting-btn {
    background-color: #ff3b30;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#deleteConfirmationPopup .delete-meeting-btn:hover {
    background-color: #e53027;
}

#deleteConfirmationPopup .cancel-delete-btn {
    background-color: #e0e0e0;
    color: #333;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#deleteConfirmationPopup .cancel-delete-btn:hover {
    background-color: #ccc;
}

.cs-jitsi-edit-meeting {
    display: inline-block;
    background-color: #0d6efd; /* Blue color */
    color: white;
    padding: 6px 12px;
    margin-left: 5px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s;
    text-decoration: none !important;
}

.cs-jitsi-edit-meeting:hover {
    background-color: #0b5ed7; /* Slightly darker blue on hover */
    color: white;
}

.cs-jitsi-edit-meeting:focus {
    outline: 0;
    border: 0;
    color: white;
}
