/* Wing Dashboard Specific Styles */

/* Header Role Switcher Pill */
.role-switch-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background-color: #F0FDFA;
  border: 1px solid #CCFBF1;
  border-radius: var(--radius-full);
  color: #0D9488;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.15s ease;
}

.role-switch-pill:hover {
  background-color: #0D9488;
  color: #FFFFFF;
}

.role-switch-icon {
  font-size: 14px;
}

/* Quick Actions Row - 4 Cards Grid */
.quick-actions-row-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}

.quick-action-card-wing {
  display: flex;
  align-items: center;
  padding: 16px 18px;
  border-radius: 18px;
  transition: all 0.2s ease;
  position: relative;
}

.quick-action-card-wing:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.action-avail {
  background-color: #F0FDFA;
  border: 1px solid #CCFBF1;
}

.action-requests {
  background-color: #FFF7ED;
  border: 1px solid #FFEDD5;
}

.action-mybookings {
  background-color: #F0FDFA;
  border: 1px solid #CCFBF1;
}

.action-edit {
  background-color: #FFF7ED;
  border: 1px solid #FFEDD5;
}

.action-icon-circle-wing {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 14px;
  flex-shrink: 0;
  color: #FFFFFF;
}

.action-icon-circle-wing svg {
  width: 22px;
  height: 22px;
}

.title-with-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-count-orange {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background-color: #EA580C;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  border-radius: var(--radius-full);
}

/* Base White Dashboard Card */
.dash-white-card {
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.dash-card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.dash-card-title {
  font-size: 20px;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.4px;
}

.dash-card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 700;
  color: #0D9488;
  transition: gap 0.15s ease;
}

.dash-card-link:hover {
  gap: 8px;
  color: #0F766E;
}

.dash-meta-icon {
  width: 14px;
  height: 14px;
  color: #64748B;
  flex-shrink: 0;
}

/* ==========================================================================
   CARD 1: YOUR NEXT BOOKING
   ========================================================================== */
.next-booking-card {
  padding: 22px 24px;
}

.next-booking-header {
  margin-bottom: 16px;
}

.next-booking-title {
  font-size: 20px;
  font-weight: 800;
  color: #0F172A;
}

.next-booking-body {
  display: flex;
  align-items: center;
  gap: 20px;
}

.next-booking-img-wrap {
  width: 150px;
  height: 95px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid #E2E8F0;
}

.next-booking-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.next-booking-details {
  flex-grow: 1;
}

.next-booking-name {
  font-size: 17px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 8px;
}

.next-booking-meta-row {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #64748B;
  font-weight: 500;
  margin-bottom: 5px;
}

.next-booking-action {
  flex-shrink: 0;
}

.btn-view-details {
  padding: 9px 22px;
  font-size: 14px;
  font-weight: 700;
  color: #0D9488;
  background-color: #FFFFFF;
  border: 1.5px solid #0D9488;
  border-radius: var(--radius-full);
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-view-details:hover {
  background-color: #F0FDFA;
}

/* ==========================================================================
   CARD 2: BOOKING REQUESTS
   ========================================================================== */
.requests-list {
  display: flex;
  flex-direction: column;
}

.request-item-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #F1F5F9;
}

.request-item-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.request-user-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  overflow: hidden;
  flex-shrink: 0;
  border: 1.5px solid #E2E8F0;
}

.req-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.request-info-col {
  flex-grow: 1;
}

.request-event-title {
  font-size: 16px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 4px;
}

.request-meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #64748B;
}

.request-actions-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-req-decline {
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  background-color: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-full);
  transition: all 0.15s ease;
}

.btn-req-decline:hover {
  background-color: #F1F5F9;
  color: #0F172A;
}

.btn-req-accept {
  padding: 8px 22px;
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
  background-color: #0D9488;
  border: 1px solid #0D9488;
  border-radius: var(--radius-full);
  transition: all 0.15s ease;
  box-shadow: 0 2px 6px rgba(13, 148, 136, 0.2);
}

.btn-req-accept:hover {
  background-color: #0F766E;
}

/* ==========================================================================
   CARD 3: RECENT BOOKINGS
   ========================================================================== */
.recent-bookings-list {
  display: flex;
  flex-direction: column;
}

.recent-booking-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #F1F5F9;
}

.recent-booking-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.recent-thumb-wrap {
  width: 52px;
  height: 38px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.recent-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-title-col {
  width: 150px;
  flex-shrink: 0;
}

.recent-title-text {
  font-size: 15px;
  font-weight: 800;
  color: #0F172A;
}

.recent-date-col {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #64748B;
  flex-grow: 1;
}

.recent-status-col {
  flex-shrink: 0;
}

.badge-status-completed {
  display: inline-block;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 700;
  color: #16A34A;
  background-color: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   RIGHT COLUMN: EARNINGS & AVAILABILITY
   ========================================================================== */
.earnings-content-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.earnings-number-wrap {
  display: flex;
  flex-direction: column;
}

.earnings-amount {
  font-size: 34px;
  font-weight: 900;
  color: #0F172A;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 4px;
}

.earnings-sub {
  font-size: 14px;
  color: #64748B;
  font-weight: 500;
}

.earnings-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 65px;
  padding-bottom: 4px;
}

.chart-bar {
  width: 14px;
  border-radius: 4px;
  background-color: #99F6E4;
  transition: height 0.3s ease;
}

.chart-bar.highlight {
  background-color: #5EEAD4;
}

/* Weekly Schedule Grid */
.weekly-schedule-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.day-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.day-label {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
}

.day-pill {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
}

.day-pill.available {
  background-color: #E6F7F5;
  color: #0D9488;
  border: 1px solid #CCFBF1;
}

.day-pill.unavailable {
  background-color: #F8FAFC;
  color: #94A3B8;
  border: 1px solid #E2E8F0;
}

/* Time and Badge */
.time-and-badge {
  display: flex;
  align-items: center;
  gap: 6px;
}

.unread-count-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background-color: #EA580C;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  border-radius: var(--radius-full);
}

/* Responsive adjustments */
@media (max-width: 1100px) {
  .quick-actions-row-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .quick-actions-row-4 {
    grid-template-columns: 1fr;
  }
  
  .next-booking-body {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .next-booking-action {
    width: 100%;
  }
  
  .btn-view-details {
    width: 100%;
    text-align: center;
  }
}
