:root {
  --ic-bg: rgba(10, 10, 15, 0.65);
  --ic-surface: rgba(255, 255, 255, 0.01);
  --ic-border: rgba(255, 255, 255, 0.06);
  --ic-text: #ffffff;
  --ic-text-muted: #a2919d;
  --ic-primary: #ff63cf;
  --ic-primary-text: #000000;
  --ic-hover: rgba(255, 99, 207, 0.1);
  --ic-focus-ring: rgba(255, 99, 207, 0.4);
  --ic-font: 'Outfit', 'Inter', 'Roboto', sans-serif;
  --ic-radius: 24px;
  --accent: #ff63cf;
  --accent-secondary: #00f2fe;
}

#introcall-frontend-app {
  font-family: var(--ic-font);
  background: var(--ic-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--ic-text);
  border-radius: var(--ic-radius);
  border: 1px solid var(--ic-border);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  max-width: 1000px;
  margin: 40px auto;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  line-height: 1.6;
  position: relative;
  z-index: 10;
}

#introcall-frontend-app::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255, 99, 207, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

/* Sidebar Info */
.ic-sidebar {
  width: 300px;
  padding: 40px;
  border-right: 1px solid var(--ic-border);
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.01);
  position: relative;
  z-index: 2;
}

.ic-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
}

.ic-avatar-group {
  display: flex;
  align-items: center;
}

.ic-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ff63cf; 
  border: 2px solid #0a0a0f;
  margin-left: -12px;
  box-shadow: 0 0 10px rgba(255, 99, 207, 0.3);
}
.ic-avatar:first-child { 
  margin-left: 0; 
  background: #00f2fe;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
}

.ic-host-name {
  color: var(--ic-text-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.ic-event-title {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 20px 0;
  font-family: var(--ic-font);
  color: #fff;
  letter-spacing: -0.5px;
}

.ic-event-details {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--ic-text-muted);
  font-size: 14px;
}

.ic-event-details li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  line-height: 1.4;
}

.ic-event-details svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: 3px;
  flex-shrink: 0;
}

.ic-event-details li strong {
  color: #fff;
  font-weight: 700;
}

/* Main Content Area */
.ic-main {
  flex-grow: 1;
  padding: 40px;
  position: relative;
  z-index: 2;
}

/* Calendar Specifics */
.ic-calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

#ic-calendar-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  font-family: var(--ic-font);
}

.ic-calendar-header button.ic-btn {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  font-weight: bold;
}

.ic-calendar-header button.ic-btn:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(255, 99, 207, 0.4);
}

.ic-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  text-align: center;
}

.ic-calendar-day-name {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ic-text-muted);
  margin-bottom: 12px;
  letter-spacing: 1.5px;
}

.ic-calendar-day {
  aspect-ratio: 1;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  margin: 0 auto;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  color: #fff;
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.05);
}

.ic-calendar-day:hover {
  background: rgba(255, 99, 207, 0.1);
  border-color: rgba(255, 99, 207, 0.3);
  color: var(--accent);
}

.ic-calendar-day.ic-active {
  background: var(--accent) !important;
  color: #000 !important;
  font-weight: 800;
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(255, 99, 207, 0.5);
}

/* Day padding cells */
.ic-calendar-grid div:not(.ic-calendar-day):not(.ic-calendar-day-name) {
  opacity: 0;
  pointer-events: none;
}

/* Timeslot Panel */
.ic-timeslot-panel {
  width: 260px;
  border-left: 1px solid var(--ic-border);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.005);
  position: relative;
  z-index: 2;
}

.ic-timeslot-panel h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-top: 0;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ic-timeslot-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 14px;
  border-radius: 8px;
  margin-bottom: 12px;
  cursor: pointer;
  font-family: var(--ic-font);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
}

.ic-timeslot-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255, 99, 207, 0.05);
}

.ic-timeslot-btn.selected {
  background: var(--accent) !important;
  color: #000 !important;
  border-color: var(--accent) !important;
  font-weight: 700;
}

/* Form Styles */
#ic-booking-form {
  position: relative;
  z-index: 10;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.form-group-custom {
  position: relative;
  margin-bottom: 24px;
}

.form-group-custom.no-margin {
  margin-bottom: 0;
}

.input-field-custom {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px 20px;
  color: #fff;
  font-size: 15px;
  font-family: var(--ic-font);
  transition: all 0.4s ease;
  outline: none;
  box-sizing: border-box;
}

.input-field-custom:focus {
  border-color: var(--accent);
  background: rgba(255, 99, 207, 0.02);
  box-shadow: 0 0 18px rgba(255, 99, 207, 0.08);
}

.label-floating {
  position: absolute;
  left: 20px;
  top: 18px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  pointer-events: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.input-field-custom:focus ~ .label-floating,
.input-field-custom:not(:placeholder-shown) ~ .label-floating {
  top: -10px;
  left: 15px;
  font-size: 11px;
  color: var(--accent);
  background: #09090e;
  padding: 2px 10px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 1px;
}

/* Platform selector chips */
.platform-selector-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--ic-text-muted);
  margin-bottom: 15px;
  font-weight: 700;
  display: block;
}

.chips-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.platform-chip {
  padding: 12px 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 30px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  user-select: none;
}

.platform-chip:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.15);
}

.platform-chip.active {
  background: rgba(255, 99, 207, 0.1);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 15px rgba(255, 99, 207, 0.15);
}

/* Footer / Buttons */
.ic-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
}

.button-bracket .btn-text {
  position: relative;
  z-index: 2;
}

/* Success Overlay Styling matches theme */
.success-overlay-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.success-card-inner {
  background: rgba(10, 10, 15, 0.9);
  border: 1px solid rgba(255, 99, 207, 0.3);
  box-shadow: 0 50px 100px rgba(255, 99, 207, 0.1);
  border-radius: 30px;
  padding: 50px 60px;
  max-width: 600px;
  width: 90%;
  text-align: center;
  animation: scaleUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes scaleUp {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}

.success-badge-sphere {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(0, 255, 135, 0.1);
  border: 1px solid rgba(0, 255, 135, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00ff87;
  font-size: 32px;
  margin: 0 auto 30px;
  box-shadow: 0 0 30px rgba(0, 255, 135, 0.2);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(0, 255, 135, 0.4); }
  70% { box-shadow: 0 0 0 20px rgba(0, 255, 135, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 255, 135, 0); }
}

.success-card-inner h2 {
  font-size: 32px;
  color: #fff;
  margin-bottom: 15px;
  font-family: var(--ic-font);
  font-weight: 800;
}

.success-card-inner p {
  font-size: 16px;
  color: var(--ic-text-muted);
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Media Queries for responsiveness */
@media (max-width: 991px) {
  #introcall-frontend-app {
    flex-direction: column;
    margin: 20px;
    max-width: calc(100% - 40px);
  }
  .ic-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--ic-border);
    padding: 30px;
  }
  .ic-timeslot-panel {
    width: 100%;
    border-left: none;
    border-top: 1px solid var(--ic-border);
    padding: 30px;
  }
  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
