// ============================================================================
// Enterprise Availability Component Styles
// Modern, Professional, and Responsive Styling
// ============================================================================

// ============================================================================
// Component Root & Variables
// ============================================================================

:host,
app-availability {
  display: block;
  width: 100%;
}

// ============================================================================
// Main Section Container
// ============================================================================

.availability-section {
  width: 100%;
  padding: var(--space-xl, 2rem);
  background: transparent;
  
  @media (max-width: 768px) {
    padding: var(--space-md, 1rem);
  }
}

// ============================================================================
// Section Header
// ============================================================================

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-lg, 1.5rem);
  margin-bottom: var(--space-2xl, 3rem);
  flex-wrap: wrap;
  
  @media (max-width: 1024px) {
    flex-direction: column;
    gap: var(--space-md, 1rem);
    margin-bottom: var(--space-xl, 2rem);
  }
}

.section-title {
  font-size: var(--font-size-3xl, 1.875rem);
  font-weight: var(--font-weight-bold, 700);
  color: var(--text-primary, #111827);
  margin: 0;
  line-height: var(--line-height-tight, 1.25);
  position: relative;
  padding-bottom: var(--space-md, 1rem);
  
  &::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--color-primary, #2563eb) 0%, var(--color-accent, #8b5cf6) 100%);
    border-radius: var(--radius-full, 9999px);
  }
  
  @media (max-width: 768px) {
    font-size: var(--font-size-2xl, 1.5rem);
  }
}

// ============================================================================
// Section Controls
// ============================================================================

.section-controls {
  display: flex;
  align-items: center;
  gap: var(--space-md, 1rem);
  flex-wrap: wrap;
  
  @media (max-width: 640px) {
    width: 100%;
    flex-direction: column;
    
    .filter-controls,
    .action-buttons-group {
      width: 100%;
    }
  }
}

// ============================================================================
// Filter Controls
// ============================================================================

.filter-controls {
  display: flex;
  align-items: center;
  gap: var(--space-sm, 0.5rem);
}

.filter-select {
  padding: var(--space-sm, 0.5rem) var(--space-md, 1rem);
  padding-right: var(--space-2xl, 3rem);
  border: 2px solid var(--color-gray-300, #d1d5db);
  border-radius: var(--radius-md, 0.5rem);
  background: var(--bg-primary, #ffffff);
  color: var(--text-primary, #111827);
  font-size: var(--font-size-sm, 0.875rem);
  font-weight: var(--font-weight-medium, 500);
  cursor: pointer;
  transition: all var(--transition-base, 200ms cubic-bezier(0.4, 0, 0.2, 1));
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9L12 15L18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-sm, 0.5rem) center;
  background-size: 20px;
  
  &:hover {
    border-color: var(--color-primary, #2563eb);
    box-shadow: var(--shadow-sm, 0 1px 3px 0 rgba(0, 0, 0, 0.1));
  }
  
  &:focus {
    outline: none;
    border-color: var(--color-primary, #2563eb);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  }
  
  option {
    padding: var(--space-sm, 0.5rem);
    background: var(--bg-primary, #ffffff);
    color: var(--text-primary, #111827);
  }
  
  @media (max-width: 640px) {
    width: 100%;
  }
}

// ============================================================================
// Action Buttons Group
// ============================================================================

.action-buttons-group {
  display: flex;
  align-items: center;
  gap: var(--space-sm, 0.5rem);
  flex-wrap: wrap;
  
  @media (max-width: 640px) {
    width: 100%;
    
    .request-btn {
      flex: 1;
      min-width: 0;
    }
  }
}

// ============================================================================
// Request Buttons
// ============================================================================

.request-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs, 0.25rem);
  padding: var(--space-sm, 0.5rem) var(--space-lg, 1.5rem);
  border: 2px solid var(--color-primary, #2563eb);
  border-radius: var(--radius-md, 0.5rem);
  background: var(--bg-primary, #ffffff);
  color: var(--color-primary, #2563eb);
  font-size: var(--font-size-sm, 0.875rem);
  font-weight: var(--font-weight-medium, 500);
  cursor: pointer;
  transition: all var(--transition-base, 200ms cubic-bezier(0.4, 0, 0.2, 1));
  box-shadow: var(--shadow-xs, 0 1px 2px 0 rgba(0, 0, 0, 0.05));
  position: relative;
  overflow: hidden;
  
  svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }
  
  &::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
  }
  
  &:hover {
    background: var(--color-primary, #2563eb);
    color: var(--text-inverse, #ffffff);
    box-shadow: var(--shadow-md, 0 4px 6px -1px rgba(0, 0, 0, 0.1));
    transform: translateY(-2px);
    
    &::before {
      width: 300px;
      height: 300px;
    }
  }
  
  &:active {
    transform: translateY(0);
  }
  
  // Danger variant
  &.request-btn-danger {
    border-color: var(--color-danger, #ef4444);
    color: var(--color-danger, #ef4444);
    
    &:hover {
      background: var(--color-danger, #ef4444);
      color: var(--text-inverse, #ffffff);
    }
  }
  
  @media (max-width: 480px) {
    font-size: var(--font-size-xs, 0.75rem);
    padding: var(--space-xs, 0.25rem) var(--space-md, 1rem);
    
    svg {
      width: 16px;
      height: 16px;
    }
  }
}

// ============================================================================
// Form Container
// ============================================================================

.request-form-container {
  margin-bottom: var(--space-2xl, 3rem);
  animation: slideDown var(--transition-slow, 300ms cubic-bezier(0.4, 0, 0.2, 1));
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.create-form-container {
  background: var(--bg-primary, #ffffff);
  border-radius: var(--radius-xl, 1rem);
  padding: var(--space-xl, 2rem);
  box-shadow: var(--shadow-lg, 0 10px 15px -3px rgba(0, 0, 0, 0.1));
  border: 1px solid var(--color-gray-200, #e5e7eb);
  
  h3 {
    font-size: var(--font-size-2xl, 1.5rem);
    font-weight: var(--font-weight-semibold, 600);
    color: var(--text-primary, #111827);
    margin: 0 0 var(--space-lg, 1.5rem) 0;
    padding-bottom: var(--space-md, 1rem);
    border-bottom: 2px solid var(--color-gray-200, #e5e7eb);
  }
  
  @media (max-width: 768px) {
    padding: var(--space-lg, 1.5rem);
    
    h3 {
      font-size: var(--font-size-xl, 1.25rem);
    }
  }
}

// ============================================================================
// Form Elements
// ============================================================================

.create-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg, 1.5rem);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs, 0.25rem);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md, 1rem);
  
  @media (max-width: 640px) {
    grid-template-columns: 1fr;
  }
}

.form-label {
  font-size: var(--font-size-sm, 0.875rem);
  font-weight: var(--font-weight-medium, 500);
  color: var(--text-primary, #111827);
  margin-bottom: var(--space-xs, 0.25rem);
}

.form-input {
  width: 100%;
  padding: var(--space-sm, 0.5rem) var(--space-md, 1rem);
  border: 2px solid var(--color-gray-300, #d1d5db);
  border-radius: var(--radius-md, 0.5rem);
  background: var(--bg-primary, #ffffff);
  color: var(--text-primary, #111827);
  font-size: var(--font-size-base, 1rem);
  font-family: var(--font-family-base, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
  transition: all var(--transition-base, 200ms cubic-bezier(0.4, 0, 0.2, 1));
  
  &:hover {
    border-color: var(--color-primary, #2563eb);
  }
  
  &:focus {
    outline: none;
    border-color: var(--color-primary, #2563eb);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  }
  
  &::placeholder {
    color: var(--color-gray-400, #9ca3af);
  }
  
  &:disabled {
    background: var(--color-gray-100, #f3f4f6);
    color: var(--text-disabled, #9ca3af);
    cursor: not-allowed;
  }
}

// ============================================================================
// Form Error Message
// ============================================================================

.form-error-message {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md, 1rem);
  padding: var(--space-md, 1rem);
  background: var(--color-danger-light, #fee2e2);
  border: 1px solid var(--color-danger, #ef4444);
  border-radius: var(--radius-md, 0.5rem);
  color: var(--color-danger, #ef4444);
  font-size: var(--font-size-sm, 0.875rem);
  margin-bottom: var(--space-lg, 1.5rem);
  
  strong {
    font-weight: var(--font-weight-semibold, 600);
  }
  
  button {
    background: transparent;
    border: none;
    color: var(--color-danger, #ef4444);
    font-size: var(--font-size-xl, 1.25rem);
    font-weight: var(--font-weight-bold, 700);
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm, 0.375rem);
    transition: all var(--transition-base, 200ms cubic-bezier(0.4, 0, 0.2, 1));
    flex-shrink: 0;
    
    &:hover {
      background: var(--color-danger, #ef4444);
      color: var(--text-inverse, #ffffff);
    }
  }
}

// ============================================================================
// Form Actions
// ============================================================================

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-md, 1rem);
  padding-top: var(--space-md, 1rem);
  border-top: 1px solid var(--color-gray-200, #e5e7eb);
  
  @media (max-width: 640px) {
    flex-direction: column-reverse;
    
    button {
      width: 100%;
    }
  }
}

.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm, 0.5rem) var(--space-xl, 2rem);
  border: none;
  border-radius: var(--radius-md, 0.5rem);
  background: linear-gradient(135deg, var(--color-primary, #2563eb) 0%, var(--color-accent, #8b5cf6) 100%);
  color: var(--text-inverse, #ffffff);
  font-size: var(--font-size-base, 1rem);
  font-weight: var(--font-weight-semibold, 600);
  cursor: pointer;
  transition: all var(--transition-base, 200ms cubic-bezier(0.4, 0, 0.2, 1));
  box-shadow: var(--shadow-md, 0 4px 6px -1px rgba(0, 0, 0, 0.1));
  position: relative;
  overflow: hidden;
  
  &::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
  }
  
  &:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--color-accent, #8b5cf6) 0%, var(--color-primary, #2563eb) 100%);
    box-shadow: var(--shadow-lg, 0 10px 15px -3px rgba(0, 0, 0, 0.1));
    transform: translateY(-2px);
    
    &::before {
      width: 300px;
      height: 300px;
    }
  }
  
  &:active:not(:disabled) {
    transform: translateY(0);
  }
  
  &:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
  }
}

.cancel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm, 0.5rem) var(--space-xl, 2rem);
  border: 2px solid var(--color-gray-300, #d1d5db);
  border-radius: var(--radius-md, 0.5rem);
  background: var(--bg-primary, #ffffff);
  color: var(--text-secondary, #4b5563);
  font-size: var(--font-size-base, 1rem);
  font-weight: var(--font-weight-medium, 500);
  cursor: pointer;
  transition: all var(--transition-base, 200ms cubic-bezier(0.4, 0, 0.2, 1));
  
  &:hover {
    border-color: var(--color-gray-400, #9ca3af);
    background: var(--color-gray-50, #f9fafb);
    color: var(--text-primary, #111827);
  }
  
  &:active {
    transform: scale(0.98);
  }
}

// ============================================================================
// Bulk Availability Form
// ============================================================================

.bulk-slots-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md, 1rem);
  
  h4 {
    font-size: var(--font-size-lg, 1.125rem);
    font-weight: var(--font-weight-semibold, 600);
    color: var(--text-primary, #111827);
    margin: 0;
  }
}

.add-slot-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs, 0.25rem);
  padding: var(--space-xs, 0.25rem) var(--space-md, 1rem);
  border: 2px dashed var(--color-primary, #2563eb);
  border-radius: var(--radius-md, 0.5rem);
  background: var(--bg-primary, #ffffff);
  color: var(--color-primary, #2563eb);
  font-size: var(--font-size-sm, 0.875rem);
  font-weight: var(--font-weight-medium, 500);
  cursor: pointer;
  transition: all var(--transition-base, 200ms cubic-bezier(0.4, 0, 0.2, 1));
  
  svg {
    width: 16px;
    height: 16px;
  }
  
  &:hover {
    border-style: solid;
    background: var(--color-primary, #2563eb);
    color: var(--text-inverse, #ffffff);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm, 0 1px 3px 0 rgba(0, 0, 0, 0.1));
  }
}

.bulk-slots-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-md, 1rem);
  margin-bottom: var(--space-lg, 1.5rem);
}

.bulk-slot-item {
  background: var(--bg-secondary, #f9fafb);
  border: 1px solid var(--color-gray-200, #e5e7eb);
  border-radius: var(--radius-lg, 0.75rem);
  padding: var(--space-md, 1rem);
  transition: all var(--transition-base, 200ms cubic-bezier(0.4, 0, 0.2, 1));
  
  &:hover {
    border-color: var(--color-primary, #2563eb);
    box-shadow: var(--shadow-sm, 0 1px 3px 0 rgba(0, 0, 0, 0.1));
  }
}

.slot-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md, 1rem);
}

.slot-number {
  font-size: var(--font-size-sm, 0.875rem);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--text-secondary, #4b5563);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.remove-slot-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  border-radius: var(--radius-sm, 0.375rem);
  background: var(--color-danger-light, #fee2e2);
  color: var(--color-danger, #ef4444);
  cursor: pointer;
  transition: all var(--transition-base, 200ms cubic-bezier(0.4, 0, 0.2, 1));
  
  svg {
    width: 16px;
    height: 16px;
  }
  
  &:hover {
    background: var(--color-danger, #ef4444);
    color: var(--text-inverse, #ffffff);
    transform: scale(1.1);
  }
  
  &:active {
    transform: scale(0.95);
  }
}

.empty-bulk-slots {
  padding: var(--space-xl, 2rem);
  text-align: center;
  background: var(--bg-secondary, #f9fafb);
  border: 2px dashed var(--color-gray-300, #d1d5db);
  border-radius: var(--radius-lg, 0.75rem);
  color: var(--text-secondary, #4b5563);
  font-size: var(--font-size-sm, 0.875rem);
}

// ============================================================================
// Availability Grid
// ============================================================================

.availability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-lg, 1.5rem);
  
  @media (max-width: 1024px) {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-md, 1rem);
  }
  
  @media (max-width: 768px) {
    grid-template-columns: 1fr;
    gap: var(--space-md, 1rem);
  }
}

// ============================================================================
// Availability Card
// ============================================================================

.availability-card {
  background: var(--bg-primary, #ffffff);
  border-radius: var(--radius-xl, 1rem);
  padding: var(--space-lg, 1.5rem);
  box-shadow: var(--shadow-md, 0 4px 6px -1px rgba(0, 0, 0, 0.1));
  border: 1px solid var(--color-gray-200, #e5e7eb);
  transition: all var(--transition-base, 200ms cubic-bezier(0.4, 0, 0.2, 1));
  position: relative;
  overflow: hidden;
  
  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary, #2563eb) 0%, var(--color-accent, #8b5cf6) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-slow, 300ms cubic-bezier(0.4, 0, 0.2, 1));
  }
  
  &:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg, 0 10px 15px -3px rgba(0, 0, 0, 0.1));
    border-color: var(--color-primary, #2563eb);
    
    &::before {
      transform: scaleX(1);
    }
  }
  
  @media (max-width: 768px) {
    padding: var(--space-md, 1rem);
  }
}

// ============================================================================
// Availability Header
// ============================================================================

.availability-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-md, 1rem);
  margin-bottom: var(--space-md, 1rem);
  
  @media (max-width: 480px) {
    flex-direction: column;
    gap: var(--space-sm, 0.5rem);
  }
}

.availability-info {
  flex: 1;
  min-width: 0;
}

.day-name {
  font-size: var(--font-size-xl, 1.25rem);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--text-primary, #111827);
  margin: 0 0 var(--space-sm, 0.5rem) 0;
  line-height: var(--line-height-tight, 1.25);
  
  @media (max-width: 768px) {
    font-size: var(--font-size-lg, 1.125rem);
  }
}

.time-range {
  display: flex;
  align-items: center;
  gap: var(--space-sm, 0.5rem);
  font-size: var(--font-size-base, 1rem);
  color: var(--text-secondary, #4b5563);
  margin: 0;
  line-height: var(--line-height-normal, 1.5);
  
  svg {
    width: 18px;
    height: 18px;
    color: var(--color-primary, #2563eb);
    flex-shrink: 0;
  }
}

// ============================================================================
// Status Badge
// ============================================================================

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xs, 0.25rem) var(--space-md, 1rem);
  border-radius: var(--radius-full, 9999px);
  font-size: var(--font-size-xs, 0.75rem);
  font-weight: var(--font-weight-medium, 500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--transition-base, 200ms cubic-bezier(0.4, 0, 0.2, 1));
  
  &.status-confirmed {
    background: var(--color-success-light, #d1fae5);
    color: var(--color-success, #10b981);
    border: 1px solid var(--color-success, #10b981);
  }
  
  &.status-cancelled {
    background: var(--color-danger-light, #fee2e2);
    color: var(--color-danger, #ef4444);
    border: 1px solid var(--color-danger, #ef4444);
  }
  
  @media (max-width: 480px) {
    font-size: 0.625rem;
    padding: var(--space-xs, 0.25rem) var(--space-sm, 0.5rem);
  }
}

// ============================================================================
// Availability Actions
// ============================================================================

.availability-actions {
  display: flex;
  gap: var(--space-sm, 0.5rem);
  margin-top: var(--space-md, 1rem);
  padding-top: var(--space-md, 1rem);
  border-top: 1px solid var(--color-gray-200, #e5e7eb);
  
  @media (max-width: 480px) {
    flex-direction: column;
    
    .action-btn {
      width: 100%;
      justify-content: center;
    }
  }
}

.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs, 0.25rem);
  padding: var(--space-sm, 0.5rem) var(--space-lg, 1.5rem);
  border: none;
  border-radius: var(--radius-md, 0.5rem);
  font-size: var(--font-size-sm, 0.875rem);
  font-weight: var(--font-weight-medium, 500);
  cursor: pointer;
  transition: all var(--transition-base, 200ms cubic-bezier(0.4, 0, 0.2, 1));
  position: relative;
  overflow: hidden;
  flex: 1;
  min-width: 120px;
  
  &::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
  }
  
  &:hover::before {
    width: 300px;
    height: 300px;
  }
  
  &:active {
    transform: scale(0.98);
  }
  
  &.action-btn-cancel {
    background: var(--bg-primary, #ffffff);
    color: var(--color-danger, #ef4444);
    border: 2px solid var(--color-danger, #ef4444);
    box-shadow: var(--shadow-xs, 0 1px 2px 0 rgba(0, 0, 0, 0.05));
    
    &:hover {
      background: var(--color-danger, #ef4444);
      color: var(--text-inverse, #ffffff);
      box-shadow: var(--shadow-md, 0 4px 6px -1px rgba(0, 0, 0, 0.1));
      transform: translateY(-2px);
    }
  }
  
  @media (max-width: 480px) {
    min-width: 100%;
  }
}

// ============================================================================
// Empty State
// ============================================================================

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-3xl, 4rem) var(--space-xl, 2rem);
  text-align: center;
  background: var(--bg-primary, #ffffff);
  border-radius: var(--radius-xl, 1rem);
  box-shadow: var(--shadow-sm, 0 1px 3px 0 rgba(0, 0, 0, 0.1));
  border: 2px dashed var(--color-gray-300, #d1d5db);
  
  .empty-icon {
    width: 80px;
    height: 80px;
    color: var(--color-gray-400, #9ca3af);
    margin-bottom: var(--space-lg, 1.5rem);
    opacity: 0.6;
    animation: float 3s ease-in-out infinite;
  }
  
  h3 {
    font-size: var(--font-size-2xl, 1.5rem);
    font-weight: var(--font-weight-semibold, 600);
    color: var(--text-primary, #111827);
    margin: 0 0 var(--space-sm, 0.5rem) 0;
  }
  
  p {
    font-size: var(--font-size-base, 1rem);
    color: var(--text-secondary, #4b5563);
    margin: 0;
    max-width: 400px;
  }
  
  @media (max-width: 768px) {
    padding: var(--space-2xl, 3rem) var(--space-lg, 1.5rem);
    
    .empty-icon {
      width: 60px;
      height: 60px;
    }
    
    h3 {
      font-size: var(--font-size-xl, 1.25rem);
    }
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

// ============================================================================
// Responsive Enhancements
// ============================================================================

@media (max-width: 640px) {
  .availability-card {
    border-radius: var(--radius-lg, 0.75rem);
  }
  
  .availability-header {
    flex-wrap: wrap;
  }
  
  .status-badge {
    position: absolute;
    top: var(--space-md, 1rem);
    right: var(--space-md, 1rem);
  }
  
  .availability-info {
    padding-right: var(--space-xl, 2rem);
  }
}

// ============================================================================
// Print Styles (Optional)
// ============================================================================

@media print {
  .availability-section {
    padding: 0;
  }
  
  .section-controls,
  .availability-actions,
  .request-form-container {
    display: none;
  }
  
  .availability-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid var(--color-gray-300, #d1d5db);
    margin-bottom: var(--space-md, 1rem);
    
    &:hover {
      transform: none;
      box-shadow: none;
    }
  }
}

