/* 
    GLOBAL STYLE FOR Template

    1. Modal Meeting Nanti (ModalMeetingNanti.php)
    2. Jadwalkan Meeting (JadwalkanMeeting.php)


*/

/* ========= MODAL MEETING NANTI ============ */
.modal-content-meeting {
  font-family: "Roboto", sans-serif;
  border-radius: 16px;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  background: #fff;
}

.btn-close-meeting {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 28px;
  color: #666;
  opacity: 1;
  z-index: 5;
  outline: none !important;
}

.meeting-modal-title {
  font-weight: 700;
  font-size: 20px;
  color: #000;
  margin-bottom: 5px;
}

.meeting-modal-subtitle {
  font-size: 15px;
  color: #606596;
  margin-bottom: 35px;
}

.link-label {
  font-size: 15px;
  color: #223a57;
  margin-bottom: 5px;
  display: block;
}

.link-text {
  font-weight: 700;
  color: #000;
  font-size: 16px;
  flex-grow: 1;
}

.btn-copy-icon {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s;
}

.btn-copy-icon:hover {
  background-color: #f3f4f6;
}

.btn-copy-icon img {
  width: 18px;
  height: 18px;
}

.info-box-meeting {
  background-color: #edf2f9;
  border: 1px solid #d5e8f9;
  border-radius: 10px;
  padding: 15px;
}

.info-title {
  font-weight: 400;
  font-size: 14px;
  color: #1b2d44;
  margin-bottom: 2px;
}

.info-desc {
  font-size: 12px;
  color: #223a57;
  margin: 0;
  line-height: 1.4;
}

.btn-meeting-close {
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 6px 30px;
  width: 100%;
  font-size: 16px;
  color: #333 !important;
  border-radius: 8px;
  background: linear-gradient(180deg, #e6e6e6 0%, #d1d1d1 100%);
  border: 1px solid #bfbfbf;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
  text-decoration: none !important;
  transition: transform 0.2s, box-shadow 0.2s;
  font-weight: 600;
  cursor: pointer;
}

.btn-meeting-close:hover {
  background: #d1d5db;
}

.btn-meeting-close:focus,
.btn-copy-icon:focus {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

@media (max-width: 834px) {
  .meeting-title {
    width: 90%;
    margin-top: 0 !important;
    margin-bottom: 30px;
  }

  .meeting-title h2 {
    font-size: 32px;
  }

  .meeting-items {
    margin-top: 10px;
  }

  .meeting-item-title {
    padding: 30px;
    text-align: center;
  }

  .meeting-item {
    grid-template-columns: 1fr;
    padding: 40px;
    gap: 40px;
  }

  .item-1,
  .item-2 {
    width: 100%;
  }

  .item-2 {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

@media (max-width: 414px) {
  .modal-dialog {
    max-width: 85% !important;
    margin: 1rem auto !important;
  }

  .modal-body.p-4 {
    padding: 20px 15px !important;
  }

  .meeting-modal-title {
    font-size: 18px !important;
    margin-bottom: 5px !important;
  }

  .meeting-modal-subtitle {
    font-size: 13px !important;
    margin-bottom: 20px !important;
  }

  .link-label {
    font-size: 13px !important;
    margin-bottom: 3px !important;
  }

  .link-text {
    font-size: 13px !important;
  }

  .btn-copy-icon {
    width: 32px !important;
    height: 32px !important;
  }

  .btn-copy-icon img {
    width: 14px !important;
    height: 14px !important;
  }

  .link-group.mb-3,
  .link-group.mb-4 {
    margin-bottom: 15px !important;
  }

  .info-box-meeting {
    padding: 10px !important;
    align-items: center !important;
  }

  .info-box-meeting img {
    width: 30px !important;
  }

  .info-box-meeting .mr-3 {
    margin-right: 10px !important;
  }

  .info-title {
    font-size: 13px !important;
  }

  .info-desc {
    font-size: 11px !important;
    line-height: 1.3 !important;
  }

  .btn-close-meeting {
    font-size: 24px !important;
    right: 10px !important;
    top: 10px !important;
  }

  .btn-meeting-close {
    min-height: 40px !important;
    padding: 8px 20px !important;
    font-size: 14px !important;
  }

  .row.mt-4 {
    margin-top: 15px !important;
  }
}

/* ========= MODAL MEETING NANTI ============ */

/* ========= Jaswalkan Meeting ============ */

.page-title {
  font-weight: 700;
  font-size: 32px;
  background: linear-gradient(90deg, #7eb6fc 0%, #243d5c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  margin-top: 10%;
}

.page-subtitle {
  color: #4a4a4a;
  font-size: 18px;
  margin-bottom: 30px;
}

.schedule-card {
  background: #fff;
  border-radius: 12px;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

.schedule-header {
  background: linear-gradient(120deg, #396092 0%, #4c80c2 100%) !important;
  padding: 25px;
}

.schedule-header h1 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-left: 38px;
}

.calendar-wrapper {
  width: 100%;
  max-width: 350px;
  border: 1px solid #4c80c2;
  border-radius: 10px;
  overflow: hidden;
  margin: 0 auto;
}

.calendar-header {
  background-color: #4c80c2;
  color: #fff;
  padding: 20px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.header-day-name {
  font-size: 18px;
  font-weight: 400;
  opacity: 0.9;
  margin-bottom: 5px;
  text-transform: capitalize;
}

.header-nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.header-nav-text {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.calendar-nav-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  font-weight: bold;
  line-height: 1;
  padding: 0 10px;
}

.calendar-nav-btn:hover {
  opacity: 0.7;
}

.calendar-nav-btn:focus,
.calendar-nav-btn:active {
  outline: none !important;
  box-shadow: none !important;
}

.header-date-number {
  font-size: 48px;
  font-weight: 500;
  margin: 5px 0;
  line-height: 1;
}

.calendar-body {
  padding: 20px;
  background: #fff;
}

.calendar-days-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  color: #999;
  font-size: 12px;
  font-weight: 600;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.calendar-date {
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  font-size: 14px;
  color: #333;
  transition: 0.2s;
}

.calendar-date:hover {
  background-color: #f0f0f0;
}

.calendar-date.active {
  background-color: #4c80c2;
  color: #fff;
  font-weight: bold;
}

.calendar-date.empty {
  cursor: default;
  pointer-events: none;
}

.time-input-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.time-box::-webkit-outer-spin-button,
.time-box::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.time-box {
  -moz-appearance: textfield;
}

.time-box {
  width: 70px;
  height: 50px;
  border: 2px solid #4c80c2;
  border-radius: 8px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: #333;
}

.time-separator {
  font-size: 24px;
  font-weight: bold;
}

.wib-badge {
  background-color: #4c80c2;
  color: #fff;
  height: 50px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  border-radius: 8px;
  font-weight: 700;
}

.summary-box {
  background-color: #edf2f9;
  border: 1px solid #d5e8f9;
  border-radius: 8px;
  padding: 15px;
  margin-top: 20px;
  display: flex;
  align-items: center;
}

.summary-icon {
  margin-top: -28px;
  font-size: 24px;
  margin-right: 15px;
  color: #407bff;
}

.summary-text h6 {
  font-weight: 400;
  margin-bottom: 4px;
  font-size: 15px;
  color: #1b2d44;
}

.summary-text p {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  color: #223a57;
}

.btn-submit-meeting {
  background: linear-gradient(180deg, #4c80c2 0%, #345d8f 100%);
  box-shadow: 0 4px 6px rgba(52, 93, 143, 0.4);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 8px;
  width: 100%;
  font-weight: 600;
  margin-top: 30px;
  transition: 0.3s;
}

.btn-submit-meeting:hover {
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 12px rgba(52, 93, 143, 0.5);
  background: linear-gradient(180deg, #5b8dce 0%, #345d8f 100%);
}

.modal-content-custom {
  border-radius: 16px;
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

.btn-close-custom {
  position: absolute;
  right: 20px;
  top: 20px;
  background-color: #e6e6e6;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  border: none;
  font-weight: bold;
  color: #555;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-close-custom:hover {
  background-color: #d4d4d4;
}

.btn-close-custom:focus,
.btn-close-custom:active {
  outline: none !important;
  box-shadow: none !important;
}

.success-icon-circle {
  width: 80px;
  height: 80px;
  background-color: #bfefca;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}

.success-icon-check {
  font-size: 40px;
  color: #28a745;
}

.modal-title-custom {
  font-weight: 600;
  font-size: 24px;
  color: #000;
  margin-bottom: 5px;
}

.modal-subtitle-custom {
  font-size: 16px;
  color: #666;
  margin-bottom: 25px;
}

.info-card {
  background-color: #edf2f9;
  border: 1px solid #d5e8f9;
  border-radius: 12px;
  padding: 15px;
  display: flex;
  align-items: flex-start;
  text-align: left;
  margin-bottom: 15px;
}

.info-icon-box {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.info-icon-box i,
.info-icon-box svg {
  color: white;
  font-size: 20px;
  fill: white;
}

.info-content h6 {
  font-size: 16px;
  color: #1b2d44;
  margin: 0 0 4px 0;
}

.info-content p {
  font-size: 14px;
  color: #223a57;
  margin: 0;
  line-height: 1.4;
}

.btn-modal-ok {
  background: linear-gradient(180deg, #4c80c2 0%, #345d8f 100%);
  color: white;
  font-weight: 700;
  border-radius: 8px;
  padding: 12px 0;
  width: 100%;
  max-width: 250px;
  border: none;
  box-shadow: 0 4px 10px rgba(52, 93, 143, 0.3);
  font-size: 16px;
  margin-top: 10px;
}

.btn-modal-ok:hover {
  background: linear-gradient(180deg, #5b8dce 0%, #345d8f 100%);
  color: white;
  text-decoration: none;
}

@media (max-width: 834px) {
  .body-wrapper {
    padding: 60px 0 40px 0;
  }

  .page-title {
    font-size: 36px;
  }

  .schedule-card {
    width: 90%;
    margin: 20px auto;
  }

  .card-body.p-5 {
    padding: 30px !important;
  }

  .card-body .row {
    display: flex;
    flex-direction: column;
  }

  .schedule-card .col-md-6 {
    max-width: 100%;
    flex: 0 0 100%;
    padding: 0 !important;
    margin-bottom: 40px;
    text-align: center;
  }

  .col-md-6 h5 {
    justify-content: center;
    margin-bottom: 20px !important;
  }

  .calendar-wrapper {
    margin: 0 auto;
  }

  .time-input-group {
    justify-content: center;
  }

  .summary-box {
    text-align: left;
    max-width: 400px;
    margin: 20px auto 0 auto;
  }

  #modalSuccess .modal-dialog {
    max-width: 650px !important;
    margin: 1.75rem auto;
  }

  #modalSuccess .modal-content-custom {
    padding: 40px !important;
  }

  #modalSuccess .modal-title-custom {
    font-size: 28px !important;
  }

  #modalSuccess .info-card {
    padding: 20px !important;
  }
}

@media (max-width: 414px) {
  .body-wrapper {
    padding: 60px 30px 40px 30px;
  }

  .page-title {
    font-size: 24px;
    margin-top: 20px;
    margin-bottom: 5px;
  }

  .page-subtitle {
    font-size: 14px;
    margin-bottom: 25px;
    padding: 0 15px;
  }

  .schedule-card {
    width: 100%;
    background: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08) !important;
    margin: 0 0 30px 0;
    border: none;
  }

  .schedule-header {
    padding: 15px 20px !important;
    text-align: center;
    border-radius: 12px 12px 0 0;
  }

  .schedule-header h1 {
    font-size: 16px;
    margin: 0;
    font-weight: 600;
  }

  .card-body.p-5 {
    padding: 20px 15px !important;
  }

  .schedule-card .col-md-6 {
    padding: 0 !important;
    margin-bottom: 20px;
    text-align: center;
  }

  .col-md-6 h5 {
    font-size: 15px;
    justify-content: center;
    margin-bottom: 15px !important;
    font-weight: 600;
  }

  .calendar-wrapper {
    max-width: 280px !important;
    margin: 0 auto;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
  }

  .calendar-header {
    padding: 10px 5px !important;
  }

  .header-day-name {
    font-size: 14px !important;
    margin-bottom: 0;
  }

  .header-nav-text {
    font-size: 14px !important;
  }

  .header-date-number {
    font-size: 32px !important;
    margin: 2px 0 !important;
    line-height: 1;
  }

  .calendar-nav-btn {
    font-size: 20px !important;
  }

  .calendar-body {
    padding: 10px !important;
  }

  .calendar-days-header {
    font-size: 10px !important;
    margin-bottom: 5px !important;
  }

  .calendar-grid {
    gap: 2px !important;
  }

  .calendar-date {
    height: 28px !important;
    width: 28px !important;
    font-size: 12px !important;
    margin: 0 auto;
  }

  .time-input-group {
    justify-content: center;
    margin-bottom: 15px;
  }

  .time-box {
    width: 60px;
    height: 45px;
    font-size: 14px;
  }

  .wib-badge {
    height: 45px;
    font-size: 14px;
  }

  .summary-box {
    text-align: left;
    padding: 8px 12px !important;
    border-radius: 8px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }

  .summary-icon {
    font-size: 16px;
    margin-top: 0 !important;
    margin-right: 10px !important;
    display: flex;
    align-items: center;
  }

  .summary-icon img {
    width: 24px !important;
    height: auto;
  }

  .summary-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .summary-text h6 {
    font-size: 11px !important;
    margin-bottom: 2px !important;
    line-height: 1;
    color: #888;
  }

  .summary-text p {
    font-size: 12px !important;
    font-weight: 600;
    margin-bottom: 0;
    line-height: 1.2;
  }

  .btn-submit-meeting {
    margin-top: 8px;
    width: 100%;
    padding: 10px;
    font-size: 14px;
  }

  #modalSuccess .modal-dialog {
    max-width: 85% !important;
    margin: 1rem auto !important;
  }

  #modalSuccess .modal-content-custom {
    padding: 15px !important;
  }

  #modalSuccess .success-icon-circle {
    width: 50px !important;
    height: 50px !important;
    margin-bottom: 10px !important;
  }

  #modalSuccess .success-icon-circle svg {
    width: 24px !important;
    height: 24px !important;
  }

  #modalSuccess .modal-title-custom {
    font-size: 18px !important;
    margin-bottom: 5px !important;
  }

  #modalSuccess .modal-subtitle-custom {
    font-size: 13px !important;
    margin-bottom: 15px !important;
  }

  #modalSuccess .info-card {
    padding: 10px !important;
    margin-bottom: 10px !important;
    border-radius: 8px !important;
  }

  #modalSuccess .info-icon-box {
    width: 32px !important;
    height: 32px !important;
    margin-right: 10px !important;
  }

  #modalSuccess .info-icon-box img {
    width: 18px !important;
  }

  #modalSuccess .info-content h6 {
    font-size: 13px !important;
  }

  #modalSuccess .info-content p {
    font-size: 12px !important;
  }

  #modalSuccess .btn-modal-ok {
    font-size: 14px !important;
    padding: 8px 0 !important;
    margin-top: 5px !important;
  }

  #modalSuccess .btn-close-custom {
    top: 10px !important;
    right: 10px !important;
    width: 24px !important;
    height: 24px !important;
    font-size: 14px !important;
  }
}

/* ========= Jaswalkan Meeting ============ */
