/* Main Styles */
body {
  font-family: 'Roboto', sans-serif;
  background-color: #f8f9fa;
}

.navbar-brand {
  font-weight: 500;
}

/* Platform Colors */
.youtube, .platform-badge.youtube {
  background-color: #FF0000 !important;
  color: white !important;
}

.instagram, .platform-badge.instagram {
  background-color: #C13584 !important;
  color: white !important;
}

.facebook, .platform-badge.facebook {
  background-color: #3b5998 !important;
  color: white !important;
}

.linkedin, .platform-badge.linkedin {
  background-color: #0077b5 !important;
  color: white !important;
}

/* Status Badges */
.status-badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
}

.status-idea {
  background-color: #6c757d;
  color: white;
}

.status-scripted {
  background-color: #17a2b8;
  color: white;
}

.status-filmed {
  background-color: #fd7e14;
  color: white;
}

.status-uploaded {
  background-color: #6f42c1;
  color: white;
}

.status-scheduled {
  background-color: #007bff;
  color: white;
}

.status-posted {
  background-color: #28a745;
  color: white;
}

/* Platform Badges */
.platform-badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
}

/* Table Styles */
.table th {
  font-weight: 500;
  background-color: #f1f3f5;
}

.action-buttons {
  white-space: nowrap;
}

.action-buttons .btn {
  margin-right: 0.25rem;
}

/* Calendar Styles */
.fc-event {
  cursor: pointer;
  border: none !important;
  padding: 2px 5px !important;
}

.fc-event-title {
  font-weight: 500 !important;
  white-space: normal !important;
  overflow: visible !important;
}

.fc-daygrid-day-number {
  font-weight: 500;
}

.fc-col-header-cell-cushion {
  font-weight: 500;
}

/* Completed Items */
tr.completed {
  opacity: 0.6;
}

.fc-event.completed {
  opacity: 0.6;
  text-decoration: line-through;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .action-buttons .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
  }
  
  .fc-header-toolbar {
    flex-direction: column;
  }
  
  .fc-toolbar-chunk {
    margin-bottom: 0.5rem;
  }
}

/* Fix for FullCalendar display */
.fc-view-harness {
  height: 600px !important;
}

.fc-scrollgrid-sync-inner {
  text-align: center;
}

.fc-col-header-cell {
  background-color: #f1f3f5;
}

.fc-daygrid-day {
  height: 100px;
}

.fc-daygrid-day-events {
  min-height: 2em;
}

/* Fix for modal display */
.modal-body {
  max-height: 70vh;
  overflow-y: auto;
}

/* Additional calendar event styles */
.fc .fc-daygrid-day.fc-day-today {
  background-color: rgba(255, 220, 40, 0.15);
}

.fc-event-time {
  display: none;
}

/* Improve tab styling */
.nav-tabs .nav-link {
  font-weight: 500;
}

.nav-tabs .nav-link.active {
  font-weight: 600;
  border-bottom: 3px solid #007bff;
}

/* Card styling improvements */
.card {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  border: none;
  margin-bottom: 1.5rem;
}

.card-header {
  background-color: white;
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
  padding: 0.75rem 1.25rem;
}

/* Form styling */
.form-label {
  font-weight: 500;
}

.form-control:focus, .form-select:focus {
  border-color: #80bdff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Footer styling */
footer {
  border-top: 1px solid #dee2e6;
}
