.meeting-booking-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem;
}

.meeting-booking-header h1 {
  margin-bottom: 0.25rem;
}

.meeting-booking-event-date {
  color: rgb(255, 255, 255);
  margin-bottom: 1.5rem;
}

.meeting-booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .meeting-booking-grid {
    grid-template-columns: 1fr;
  }
}

.meeting-panel {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.25rem;
  margin: 1rem 0;
}

.meeting-panel h3 {
  margin-top: 0;
  border-bottom: 2px solid #2563eb;
  padding-bottom: 0.5rem;
}

.meeting-search-bar {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.meeting-search-bar .form-search {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
}

.meeting-search-results {
  max-height: 300px;
  overflow-y: auto;
}

.meeting-attendee-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  transition: border-color 0.15s, background 0.15s;
}

.meeting-attendee-card:hover {
  border-color: #2563eb;
  background: #eff6ff;
}

.meeting-card-avatar {
  flex-shrink: 0;
}

.meeting-card-avatar img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #e2e8f0;
  display: block;
}

.meeting-card-body {
  flex: 1;
  min-width: 0;
}

.meeting-card-name {
  font-weight: 900;
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.meeting-card-field {
  font-size: 0.85rem;
  color: #475569;
  margin-top: 0.2rem;
  word-break: break-word;
}

.meeting-card-label {
  font-weight: 600;
  color: #1e293b;
}

.meeting-card-action {
  flex-shrink: 0;
  align-self: center;
}

@media (max-width: 480px) {
  .meeting-attendee-card {
    flex-direction: column;
    align-items: stretch;
  }

  .meeting-card-avatar img {
    width: 64px;
    height: 64px;
  }

  .meeting-card-action .button {
    width: 100%;
  }
}

.meeting-slot-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin: 1rem 0;
}

.meeting-slot-option {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.875rem;
}

.meeting-slot-option:has(input:checked) {
  border-color: #2563eb;
  background: #eff6ff;
}

.meeting-request-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.meeting-request-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f1f5f9;
  flex-wrap: wrap;
}

.meeting-status {
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  text-transform: uppercase;
  font-weight: 600;
}

.meeting-status--requested {
  background: #fef3c7;
  color: #92400e;
}

.meeting-status--accepted {
  background: #d1fae5;
  color: #065f46;
}

.meeting-status--declined,
.meeting-status--cancelled {
  background: #fee2e2;
  color: #991b1b;
}

.meeting-empty {
  color: #94a3b8;
  font-style: italic;
}

.meeting-request-panel {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

.meeting-profile-modal-content {
  padding: 0.5rem 0;
}

.meeting-verification-form .form-item {
  margin-bottom: 1rem;
}

.meeting-booking-verification {
  max-width: 480px;
  margin: 0 auto;
}


/* Slot Grid */
.meeting-slot-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

/* Card */
.meeting-slot-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .65rem;

  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 14px;

  background: #fff;
  border: 1px solid #e5e7eb;

  box-shadow: 0 2px 10px rgba(15,23,42,.05);

  transition:
      transform .2s ease,
      box-shadow .2s ease,
      border-color .2s ease;
}

.meeting-slot-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(15,23,42,.12);
}

/* Time */
.meeting-slot-card__time {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
}

/* Slot label */
.meeting-slot-card__label {
  font-size: .95rem;
  color: #64748b;
}

/* Partner */
.meeting-slot-card__partner {
  margin-top: auto;
  padding-top: .75rem;

  border-top: 1px solid #edf2f7;

  font-weight: 600;
  color: #1e293b;
}

/* Status Badge */
.meeting-slot-card__status {
  align-self: flex-start;

  padding: .3rem .75rem;

  border-radius: 999px;

  font-size: .75rem;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: .04em;
}

/* Available */
.meeting-slot-card--available {
  border-left: 5px solid #22c55e;
}

.meeting-slot-card__status--available {
  background: #dcfce7;
  color: #166534;
}

/* Pending */
.meeting-slot-card--pending {
  border-left: 5px solid #f59e0b;
}

.meeting-slot-card__status--pending {
  background: #fef3c7;
  color: #92400e;
}

/* Booked */
.meeting-slot-card--booked {
  border-left: 5px solid #ef4444;
}

.meeting-slot-card__status--booked {
  background: #fee2e2;
  color: #991b1b;
}

/* Cancelled */
.meeting-slot-card--cancelled {
  border-left: 5px solid #64748b;
}

.meeting-slot-card__status--cancelled {
  background: #e2e8f0;
  color: #475569;
}

/* Mobile */
@media (max-width:768px) {

  .meeting-slot-cards {
    grid-template-columns: 1fr;
  }

  .meeting-slot-card {
    padding: .9rem;
  }

  .meeting-slot-card__time {
    font-size: 1rem;
  }

}






.meeting-dialog {
  border-radius: 14px;
  overflow: hidden;
}

.meeting-dialog .ui-dialog-titlebar {
  background: #005ea2;
  color: white;
  border: 0;
  padding: 16px 20px;
}

.meeting-dialog .ui-dialog-title {
  font-size: 20px;
  font-weight: 600;
}

.meeting-dialog .ui-dialog-content {
  padding: 24px;
}

.meeting-dialog .ui-dialog-buttonpane {
  padding: 16px 24px;
}

.ui-widget-overlay {
  background: rgba(0,0,0,.45);
}


/* .meeting-request-user {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 20px;
  background: #f8fafc;
  border-radius: 12px;
  margin-bottom: 20px;
} */

.meeting-request-user {
  display: flex;
  gap: 24px;
  padding: 24px;
  background: linear-gradient(
    135deg,
    #f8fafc,
    #eef6ff
  );
  border-radius: 16px;
  border: 1px solid #e2e8f0;
}
/* 
.meeting-request-user__photo img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
} */

.meeting-request-user__photo img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border:4px solid white;
  box-shadow:0 4px 12px rgba(0,0,0,.12);
}

/* .meeting-request-field {
  margin-top: 12px;
} */

.meeting-request-tags {
  display:flex;
  gap:16px;
  margin-top:16px;
}

/* .meeting-request-field {
  background:white;
  padding:12px 14px;
  border-radius:10px;
  border:1px solid #e5e7eb;
} */

.meeting-request-field {
  flex:1;
  background:white;
  padding:14px;
  border-radius:10px;
  border:1px solid #e2e8f0;
  min-height:70px;
}

.meeting-request-field label {
  display: block;
  font-size: 12px;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.meeting-slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(170px,1fr));
  gap: 12px;
  margin: 12px 0;
}

/* .meeting-slot-option {
  padding: 14px;
  border: 2px solid #dce3ea;
  border-radius: 10px;
  cursor: pointer;
  transition: .2s;
} */

.meeting-slot-option {
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;

  min-height:55px;

  background:white;
  border:1px solid #cbd5e1;
  border-radius:12px;

  font-weight:600;

  transition:.2s;
}

.meeting-slot-option:hover {
  border-color: #005ea2;
}

/* .meeting-slot-option.selected {
  border-color: #005ea2;
  background: #eef6ff;
} */

.meeting-slot-option input {
  position:absolute;
  opacity:0;
}

.meeting-slot-option:has(input:checked) {
  background:#005ea2;
  color:white;
  border-color:#005ea2;
}

.meeting-request-modal__footer {
  position:sticky;
  bottom:0;
  background:white;
}
/* .meeting-request-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
  border-top: 1px solid #e5e7eb;
  padding-top: 20px;
} */







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

.meeting-dashboard-table th{
  background:#f8fafc;
  padding:14px;
  text-align:left;
  font-weight:600;
  color:#444;
  border-bottom:2px solid #ececec;
}

.meeting-dashboard-table td{
  padding:14px;
  border-bottom:1px solid #ececec;
  vertical-align:middle;
}

.meeting-dashboard-table tbody tr:hover{
  background:#fafcff;
}

.meeting-slot-time{
  font-size:12px;
  color:#777;
  margin-top:3px;
}

.meeting-actions{
  white-space:nowrap;
  text-align:center;
}

.meeting-action-btn{
  width:34px;
  height:34px;
  border-radius:50%;
  border:none;
  cursor:pointer;
  font-size:16px;
  font-weight:bold;
  margin:0 3px;
  transition:.2s;
}

.meeting-action-btn.accept{
  background:#e9f9ef;
  color:#14833b;
}

.meeting-action-btn.accept:hover{
  background:#14833b;
  color:#fff;
}

.meeting-action-btn.decline,
.meeting-action-btn.cancel{
  background:#fdecec;
  color:#d93025;
}

.meeting-action-btn.decline:hover,
.meeting-action-btn.cancel:hover{
  background:#d93025;
  color:#fff;
}

.meeting-status-badge{
  display:inline-block;
  padding:4px 10px;
  border-radius:20px;
  font-size:12px;
  font-weight:600;
}

.meeting-status--requested{
  background:#fff7df;
  color:#996c00;
}

.meeting-status--accepted{
  background:#e8f8eb;
  color:#188038;
}

.meeting-status--declined{
  background:#fde8e8;
  color:#c5221f;
}

.meeting-status--cancelled{
  background:#efefef;
  color:#666;
}

.meeting-empty-state{
  text-align:center;
  padding:30px;
  color:#888;
}

@media (max-width:768px){

  .meeting-dashboard-table,
  .meeting-dashboard-table thead,
  .meeting-dashboard-table tbody,
  .meeting-dashboard-table th,
  .meeting-dashboard-table td,
  .meeting-dashboard-table tr{
      display:block;
  }
  
  .meeting-dashboard-table thead{
      display:none;
  }
  
  .meeting-dashboard-table tr{
      margin-bottom:18px;
      border:1px solid #e6e6e6;
      border-radius:10px;
      overflow:hidden;
      background:#fff;
  }
  
  .meeting-dashboard-table td{
      display:flex;
      justify-content:space-between;
      align-items:center;
      border:none;
      padding:12px 16px;
  }
  
  .meeting-dashboard-table td:before{
      font-weight:600;
      color:#666;
  }
  
  .meeting-dashboard-table td:nth-child(1):before{
      content:"Slot";
  }
  
  .meeting-dashboard-table td:nth-child(2):before{
      content:"Attendee";
  }
  
  .meeting-dashboard-table td:nth-child(3):before{
      content:"Status";
  }
  
  .meeting-dashboard-table td:nth-child(4):before{
      content:"Action";
  }
  
  }
  





  .meeting-dashboard-header {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px 30px;
    margin-bottom: 25px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  }
  
  
  .meeting-dashboard-header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }
  
  
  .meeting-dashboard-header__info h1 {
    margin: 0 0 12px;
    font-size: 28px;
    font-weight: 700;
  }
  
  
  .meeting-dashboard-event {
    margin: 0 0 8px;
    font-size: 16px;
    color: #333;
  }
  
  
  .meeting-dashboard-event-date {
    color: #666;
    margin-left: 6px;
  }
  
  
  .meeting-dashboard-welcome {
    margin: 0;
    color: #555;
    font-size: 15px;
  }
  
  
  /* Exit button */
  
  .meeting-exit-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  
    background: transparent;
    color: #d64545;
  
    border: 1px solid #d64545;
    border-radius: 8px;
  
    padding: 10px 18px;
  
    font-size: 14px;
    font-weight: 600;
  
    cursor: pointer;
  
    transition: all 0.2s ease;
  }
  
  
  .meeting-exit-button:hover {
    background: #d64545;
    color: #ffffff;
  }
  
  
  .meeting-exit-icon {
    font-size: 18px;
    line-height: 1;
  }

  @media (max-width: 600px) {

    .meeting-dashboard-header__content {
      flex-direction: column;
      align-items: flex-start;
    }
  
    .meeting-dashboard-header__action {
      width: 100%;
    }
  
    .meeting-exit-button {
      width: 100%;
      justify-content: center;
    }
  
  }






  .meeting-search-table th:first-child,
  .meeting-search-table td:first-child {
      width: 200px;
      text-align: center;
      padding: 8px;
  }

  .meeting-search-avatar
  {
    border-radius: 10px;
    border: 1px solid black;
  }

  .meeting-search-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .meeting-search-table {
    width: 100%;
    min-width: 900px; /* Adjust based on your columns */
    border-collapse: collapse;
  }

  @media (max-width: 768px) {

    .meeting-search-table-wrap {
      overflow-x: auto;
    }
  
    .meeting-search-table {
      min-width: 850px;
    }
  
  }



  .meeting-booking-verification-page {
    display: flex;
    justify-content: center;
    padding: 50px 20px;
    background: #f5f7fb;
  }
  
  .meeting-booking-verification-card {
    width: 100%;
    max-width: 560px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0,0,0,.08);
  }
  
  .meeting-booking-verification-header {
    text-align: center;
    padding: 35px 30px;
    background: linear-gradient(135deg,#0d6efd,#0b5ed7);
    color: #fff;
  }
  
  .meeting-booking-verification-icon {
    font-size: 42px;
    margin-bottom: 10px;
  }
  
  .meeting-booking-title {
    margin: 0;
    font-size: 30px;
  }
  
  .meeting-booking-event-title {
    margin: 18px 0 6px;
    font-size: 22px;
    font-weight: 600;
  }
  
  .meeting-booking-event-date {
    opacity: .9;
    margin: 0;
  }
  
  .meeting-booking-verification-content {
    padding: 35px;
  }
  
  .meeting-booking-verification-content h3 {
    margin-top: 0;
    margin-bottom: 8px;
  }
  
  .meeting-booking-description {
    color: #666;
    margin-bottom: 25px;
  }
  
  .meeting-booking-help {
    margin-top: 30px;
    padding: 18px;
    border-radius: 8px;
    background: #f8f9fa;
    border-left: 4px solid #0d6efd;
  }
  
  .meeting-booking-help h4 {
    margin: 0 0 10px;
  }
  
  .meeting-booking-help ul {
    margin: 0;
    padding-left: 18px;
  }
  
  .meeting-booking-help li {
    margin-bottom: 8px;
  }

  .meeting-verification-actions {
    display: flex;
    justify-content: center;
    margin-top: 24px;
  }
  
  .meeting-verify-button {
    width: 100%;
    max-width: 350px;
    padding: 14px !important;
    font-size: 14px !important;
    border-radius: 10px !important;
    white-space: normal;
    word-break: break-word;
    text-align: center;
  }
  
  @media (max-width: 576px) {
    .meeting-verify-button {
      max-width: 100%;
      width: 100%;
    }
  }




.meeting-profile-section{
  margin:30px 0;
}

.meeting-profile-banner{
    display:flex;
    gap:20px;
    align-items:flex-start;
    background:#fff8e8;
    border:1px solid #f2c94c;
    border-left:5px solid #f0ad00;
    border-radius:10px;
    padding:24px;
    margin-bottom:24px;
}

.meeting-profile-banner__icon{
    width:60px;
    height:60px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:30px;
    background:#fff;
    border-radius:50%;
    flex-shrink:0;
}

.meeting-profile-banner__content h2{
    margin:0 0 10px;
    font-size:24px;
}

.meeting-profile-banner__content p{
    margin:0 0 15px;
    color:#555;
}

.meeting-profile-banner__content ul{
    margin:0;
    padding-left:20px;
}

.meeting-profile-banner__content li{
    margin-bottom:8px;
}

.meeting-profile-panel{
    background:#fff;
    border:1px solid #e5e5e5;
    border-radius:10px;
    padding:25px;
    box-shadow:0 3px 10px rgba(0,0,0,.05);
}

@media (max-width:768px){

    .meeting-profile-banner{
        flex-direction:column;
        text-align:center;
    }

    .meeting-profile-banner__icon{
        margin:auto;
    }

    .meeting-profile-banner__content ul{
        text-align:left;
    }

}




.meeting-attendee-name {
  display: flex;
  align-items: center;
  gap: 6px;
}

.meeting-view-profile {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  color: #0d6efd;
  font-size: 16px;
  line-height: 1;
}

.meeting-view-profile:hover {
  color: #084298;
}

.meeting-view-profile:focus {
  outline: none;
  color: #084298;
}



.meeting-dialog {
  max-width: 600px !important;
  width: 95% !important;
  border-radius: 14px;
}

/* Responsive */

/* ===========================
   Tablet (≤768px)
=========================== */

@media (max-width: 768px) {

  .meeting-dialog {
    width: 96% !important;
  }

  .meeting-dialog .ui-dialog-content {
    padding: 18px;
  }

  .meeting-request-user {
    gap: 18px;
    padding: 18px;
  }

  .meeting-request-user__photo img {
    width: 90px;
    height: 90px;
  }

  .meeting-request-tags {
    gap: 12px;
  }

  .meeting-slot-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

}

/* ===========================
   Mobile (≤480px)
=========================== */

@media (max-width: 480px) {

  .meeting-dialog {
    width: 98% !important;
  }

  .meeting-dialog .ui-dialog-content {
    padding: 16px;
  }

  .meeting-request-user {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px;
    gap: 16px;
  }

  .meeting-request-user__photo img {
    width: 80px;
    height: 80px;
  }

  .meeting-request-user__info {
    width: 100%;
  }

  .meeting-request-tags {
    flex-direction: column;
    gap: 12px;
  }

  .meeting-request-field {
    min-height: auto;
  }

  .meeting-slot-grid {
    grid-template-columns: 1fr;
  }

  .meeting-slot-option {
    min-height: 52px;
    font-size: 15px;
  }

  .meeting-request-modal__footer {
    padding-top: 16px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
  }

  .meeting-request-modal__footer .button {
    width: 100%;
    min-width: auto;
  }

}

/* ===========================
   Extra Small Phones (≤360px)
=========================== */

@media (max-width: 360px) {

  .meeting-dialog .ui-dialog-content {
    padding: 12px;
  }

  .meeting-request-user {
    padding: 12px;
  }

  .meeting-request-user__photo img {
    width: 70px;
    height: 70px;
  }

  .meeting-request-user__info h3 {
    font-size: 18px;
  }

  .meeting-request-user__info p {
    font-size: 14px;
  }

  .meeting-request-field {
    padding: 12px;
  }

  .meeting-request-field label {
    font-size: 11px;
  }

  .meeting-request-field p {
    font-size: 14px;
  }

  .meeting-slot-option {
    font-size: 14px;
    padding: 10px;
  }

}


/* For the Meeting request Modal */
.meeting-slot-option {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 4px 8px;
}

.meeting-slot-option input {
  margin-top: 3px;
}

.meeting-slot-option input + span {
  font-weight: 600;
}

.meeting-slot-option input + span + span {
  flex-basis: 100%;
  margin-left: 24px; /* align with the label text after the radio */
  font-size: 0.9em;
  color: #666;
}