
/* Finalized live.css – adjusted to match Slide 1 Figma design closely */
body {
  margin: 0;
  padding: 0;
  font-family: 'Nunito Sans', sans-serif;
  background:
    linear-gradient(0deg, rgba(33, 64, 153, 0.8), rgba(33, 64, 153, 0.8)),
    url('/images/assets/livemeet.jpg') no-repeat center center;
  background-size: cover;
  overflow: hidden;
  color: #FFFFFF;
  position: relative;
}
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/images/assets/whitewave.png') no-repeat center center;
  background-size: cover;
  opacity: 0.2;
  transform: rotate(-151.28deg);
  pointer-events: none;
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 800px;
  position: relative;
  margin: auto;
}

.slide-content-satu {
  position: absolute;
  top: 244px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 216px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.qr-section {
  background: #FFFFFF;
  padding: 8px;
  border-radius: 8px;
  width: 216px;
  height: 216px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr-label {
    margin-top: 30px;
    font-size: 1em;
    text-align: center;
    color: white;
}
.qr-section img {
  width: 200px;
  height: 200px;
}

.separator {
  width: 0;
  height: 216px;
  border: 2px solid #BEC7E0;
}

.meeting-info-section {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  height: 192px;
}

.room-title {
  font-weight: 700;
  font-size: 32px;
  line-height: 40px;
  color: #FFFFFF;
}

.meeting-title {
  font-weight: 700;
  font-size: 64px;
  line-height: 72px;
  color: #FFFFFF;
}

.meeting-details-icons {
  display: flex;
  gap: 32px;
  font-size: 32px;
  font-weight: 600;
  color: #BEC7E0;
}

/* .footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 140px;
  background: #FFFFFF;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 48px;
  box-sizing: border-box;
  color: #232323;
  z-index: 1;
} */
.footer {
  position: fixed; /* ganti dari absolute ke fixed */
  bottom: 0;
  left: 0;
  width: 100%;
  height: 140px;
  background: #FFFFFF;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 48px;
  box-sizing: border-box;
  color: #232323;
  z-index: 9999; /* pastikan muncul di atas elemen lain */
}


.footer-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.footer-section .label {
  font-weight: 600;
  font-size: 20px;
  color: #232323;
}

.footer-section .value {
  font-weight: 700;
  font-size: 20px;
  color: rgba(77, 77, 77, 1);
}

.footer-right {
  align-items: flex-end;
  text-align: right;
}

.footer-right .time {
  font-weight: 600;
  font-size: 30px;
  color: #232323;
}
.footer-right .date {
  font-weight: 700;
  font-size: 20px;
  color: rgba(77, 77, 77, 1);
}
.footer-logo {
  width: 300px;
  height: auto;
  object-fit: contain;
}
.divider {
    width: 2px;
    height: 80px;
    background-color: rgba(179, 179, 179, 1);
    margin: 0 20px;
}
/* Header Styles */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  padding: 16px 48px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
  box-sizing: border-box;
  z-index: 2;
}

.header-form {
  display: flex;
  gap: 16px;
}

.header-select {
  width: 316px;
  height: 40px;
  background: #FFFFFF;
  border: 1px solid #DFE5EA;
  border-radius: 4px;
  padding: 8px 12px;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: #323232;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
}

.fullscreen-btn {
  width: 40px;
  height: 40px;
  background: #FFFFFF;
  border: 1px solid #DFE5EA;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #323232;
  font-size: 20px;
}



/* Update the slide-content-dua styles */
.slide-content-dua {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: auto;
    display: flex;
    gap: 32px;
    padding: 32px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Left Column (30%) */
.left-column {
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.room-info {
    text-align: center;
}

.room-title {
    font-weight: 700;
    font-size: 32px;
    line-height: 40px;
    color: #FFFFFF;
    margin: 0;
}

.room-subtitle {
    font-weight: 600;
    font-size: 24px;
    line-height: 32px;
    color: #BEC7E0;
    margin: 8px 0 0 0;
}

.qr-section {
    background: #FFFFFF;
    padding: 8px;
    border-radius: 8px;
    width: 216px;
    height: 216px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-section img {
    width: 200px;
    height: 200px;
}

/* Right Column (70%) */
.right-column {
    width: 70%;
    color: white;
}

.schedule-title {
    font-weight: 600;
    font-size: 24px;
    line-height: 32px;
    color: #FFFFFF;
    margin: 0 0 16px 0;
    text-decoration: underline;

}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    color: white;
}

.schedule-table th {
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    color: #FFFFFF;
    text-align: left;
    padding: 12px 16px;
    border-bottom: 2px solid rgba(190, 199, 224, 0.5);
}

.schedule-table td {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #FFFFFF;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(190, 199, 224, 0.3);
}

.schedule-table tr:last-child td {
    border-bottom: none;
}

.schedule-table tr:hover {
    background-color: rgba(255, 255, 255, 0.1);
}


/* Attendance Modal Styles */
#attendanceModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.modal-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    max-height: 100vh;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(245,245,245,0.95));
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-header {
    padding: 20px 30px;
    background: rgba(33, 64, 153, 0.9);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

.close-modal {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    transition: transform 0.2s;
}

.close-modal:hover {
    transform: scale(1.2);
}

.modal-content {
    padding: 30px;
    overflow-y: auto;
    flex-grow: 1;
    display: flex; /* Add flex display */
    align-items: flex-start; /* Align items to the top */
}

.attendance-type-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
}

.type-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.type-btn.external {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: white;
}

.type-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.attendance-form {
    width: 85%;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.form-title {
    margin-top: 0;
    margin-bottom: 20px;
    color: #214099;
    font-size: 20px;
    font-weight: 700;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border 0.3s;
}

.form-control-external {
    width: 95%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border 0.3s;
}

.form-control:focus {
    border-color: #214099;
    outline: none;
    box-shadow: 0 0 0 2px rgba(33,64,153,0.2);
}

.submit-btn {
    background: linear-gradient(135deg, #214099, #1a3375);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #1a3375, #142a5e);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.attendance-list {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.list-title {
    margin-top: 0;
    margin-bottom: 20px;
    color: #214099;
    font-size: 20px;
    font-weight: 700;
}

.attendance-table {
    width: 100%;
    border-collapse: collapse;
}

.attendance-table th {
    background: #f5f5f5;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #ddd;
}

.attendance-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    color: #555;
}

.attendance-table tr:last-child td {
    border-bottom: none;
}

.attendance-table tr:hover td {
    background: #f9f9f9;
}

.attendance-btn {
    background: linear-gradient(135deg, #214099, #1a3375);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.attendance-btn:hover {
    background: linear-gradient(135deg, #1a3375, #142a5e);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .modal-container {
        width: 70%;
    }
    
    .modal-content {
        flex-direction: column;
    }
    
    .modal-qr-section,
    #attendanceFormContainer {
        width: 100%;
    }
    
    .modal-qr-section {
        position: static;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 600px) {
    .attendance-type-buttons {
        flex-direction: column;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-title {
        font-size: 20px;
    }
    
    .modal-content {
        padding: 20px;
        gap: 20px;
    }
    
    .attendance-form {
        padding: 15px;
    }
}
/* Update the attendance form container */
#attendanceFormContainer {
    width: 60%; /* Set width for form section */
    flex-grow: 1;
}
.modal-qr-section {
    width: 20%; /* Set width for QR section */
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    position: sticky;
    top: 30px; /* Stick to the top with some padding */
}

.modal-qr-section img {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    display: block;
}

.modal-qr-section .qr-label {
    margin-top: 10px;
    font-size: 14px;
    color: #fff;
}