/* Calendar-specific styles */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem 0;
    color: white;
    margin-bottom: 2rem;
}

.page-header-content {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-title-section h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.page-title-section p {
    margin: 0.5rem 0 0 0;
    opacity: 0.9;
}

.page-actions .btn-primary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.page-actions .btn-primary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Calendar Controls */
.calendar-controls {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.calendar-navigation {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.calendar-navigation .btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #475569;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.calendar-navigation .btn-icon:hover {
    background: #e2e8f0;
    color: #1e293b;
    transform: scale(1.05);
}

.current-month {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    min-width: 200px;
    text-align: center;
}

.today-btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.today-btn:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.calendar-filters {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
}

.filter-select {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    background: white;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.filter-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.view-toggle {
    display: flex;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    overflow: hidden;
}

.btn-toggle {
    padding: 0.5rem 1rem;
    background: white;
    border: none;
    font-size: 0.875rem;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.btn-toggle:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: #d1d5db;
}

.btn-toggle.active {
    background: #3b82f6;
    color: white;
}

.btn-toggle:not(.active):hover {
    background: #f8fafc;
    color: #1e293b;
}

/* Calendar Grid */
.calendar-container {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    overflow-x: auto;
    overflow-y: visible;
    margin-bottom: 2rem;
    width: 100%;
    min-width: 100%;
    scroll-padding: 0 2rem;
    scroll-snap-type: x proximity;
}

.calendar-grid {
    width: 100%;
    min-width: 900px;
    padding: 0 1rem;
}

.calendar-header {
    display: grid;
    grid-template-columns: repeat(7, minmax(120px, 1fr));
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    width: 100%;
}

.calendar-body {
    position: relative;
}

.day-header {
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    color: #374151;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.calendar-body {
    display: grid;
    grid-template-columns: repeat(7, minmax(120px, 1fr));
    gap: 1px;
    background-color: #e5e7eb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: visible;
    width: 100%;
}

.day-cell {
    min-height: 120px;
    padding: 0.75rem;
    position: relative;
    cursor: pointer;
    transition: background-color 0.2s ease;
    background-color: white;
    border-radius: 4px;
}

.day-cell:hover {
    background-color: #f9fafb;
}

.day-cell.selected {
    background-color: #eff6ff;
    border-color: #3b82f6;
}

.day-cell.different-month {
    background: #f8fafc;
    color: #9ca3af;
}

.day-number {
    display: inline-block;
    width: 32px;
    height: 32px;
    text-align: center;
    line-height: 32px;
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
}

.day-cell.today .day-number {
    background: #3b82f6;
    color: white;
    font-weight: 600;
}

.day-cell.has-events .day-number {
    background: #dbeafe;
    color: #1d4ed8;
}

.day-cell.today.has-events .day-number {
    background: #3b82f6;
    color: white;
}

/* Calendar Events */
.calendar-event {
    background: #eff6ff;
    border-left: 3px solid #3b82f6;
    padding: 0.375rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-height: 2.5rem;
}

.calendar-event:hover {
    background: #dbeafe;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.calendar-event.status-scheduled {
    background: #eff6ff;
    border-left-color: #3b82f6;
    color: #1d4ed8;
}

.calendar-event.status-published {
    background: #ecfdf5;
    border-left-color: #10b981;
    color: #047857;
}

.calendar-event.status-draft {
    background: #fffbeb;
    border-left-color: #f59e0b;
    color: #d97706;
}

.calendar-event.status-failed {
    background: #fef2f2;
    border-left-color: #ef4444;
    color: #dc2626;
}

.calendar-event.platform-twitter {
    background: #eef2ff;
    border-left-color: #4f46e5;
    color: #4338ca;
}

.calendar-event.platform-instagram {
    background: #fdf2f8;
    border-left-color: #db2777;
    color: #be185d;
}

.calendar-event.platform-facebook {
    background: #eff6ff;
    border-left-color: #2563eb;
    color: #1d4ed8;
}

.calendar-event.platform-linkedin {
    background: #ecfdf5;
    border-left-color: #059669;
    color: #047857;
}

.calendar-event.platform-tiktok {
    background: #f3f4f6;
    border-left-color: #374151;
    color: #1f2937;
}

/* Calendar Event Internal Structure */
.calendar-event .event-body {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
    overflow: hidden;
}

.calendar-event .event-body > * {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.calendar-event .event-time {
    font-size: 0.6875rem;
    font-weight: 600;
    white-space: nowrap;
}

.calendar-event .event-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.6875rem;
    flex: 1;
    min-width: 0;
}

.calendar-event .event-voice {
    font-size: 0.625rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.calendar-event i {
    font-size: 0.75rem;
    flex-shrink: 0;
}

.more-events {
    font-size: 0.75rem;
    color: #6b7280;
    cursor: pointer;
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
    text-align: center;
    transition: all 0.2s ease;
}

.more-events:hover {
    background: #f3f4f6;
    color: #374151;
}

/* Calendar Legend */
.calendar-legend {
    padding: 1.5rem;
    border-top: 1px solid #e5e7eb;
    background: #f8fafc;
}

.calendar-legend h3 {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
}

.legend-items {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 0.25rem;
    flex-shrink: 0;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
}

.modal-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #6b7280;
    cursor: pointer;
    transition: color 0.2s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: #374151;
    background: #f3f4f6;
}

.modal-form {
    padding: 1.5rem;
}

.form-section {
    margin-bottom: 2rem;
}

.form-section:last-child {
    margin-bottom: 0;
}

.form-section h4 {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-input::placeholder {
    color: #9ca3af;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.character-count {
    font-size: 0.75rem;
    color: #6b7280;
    text-align: right;
    margin-top: 0.25rem;
}

.character-count.over-limit {
    color: #dc2626;
}

/* Media Upload */
.media-upload-area {
    margin-top: 0.5rem;
}

.upload-dropzone {
    border: 2px dashed #d1d5db;
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.upload-dropzone:hover {
    border-color: #3b82f6;
    background: #f8fafc;
}

.upload-dropzone.drag-over {
    border-color: #3b82f6;
    background: #eff6ff;
}

.upload-dropzone i {
    font-size: 2rem;
    color: #6b7280;
    margin-bottom: 1rem;
    display: block;
}

.upload-dropzone p {
    margin: 0;
    color: #6b7280;
    font-size: 0.875rem;
}

.media-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.5rem;
    margin-top: 1rem;
}

.media-preview-item {
    position: relative;
    border-radius: 0.375rem;
    overflow: hidden;
}

.media-preview-item img {
    width: 100%;
    height: 80px;
    object-fit: cover;
}

.media-preview-remove {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.media-preview-remove:hover {
    background: rgba(0, 0, 0, 0.8);
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.btn-secondary {
    background: white;
    color: #374151;
    border: 1px solid #d1d5db;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.btn-primary {
    background: #3b82f6;
    color: white;
    border: 1px solid #3b82f6;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: #2563eb;
    border-color: #2563eb;
}

.btn-danger {
    background: #dc2626;
    color: white;
    border: 1px solid #dc2626;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-danger:hover {
    background: #b91c1c;
    border-color: #b91c1c;
}

/* Post Details Modal */
.modal-body {
    padding: 1.5rem;
}

.post-detail-section {
    margin-bottom: 1.5rem;
}

.post-detail-section:last-child {
    margin-bottom: 0;
}

.post-detail-section h4 {
    margin: 0 0 0.75rem 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.post-detail-content {
    font-size: 0.875rem;
    color: #374151;
    line-height: 1.5;
}

.post-detail-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 0.75rem;
}

.post-media-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

.post-media-item img {
    display: block;
    transition: transform 0.2s ease;
}

.post-media-item img:hover {
    transform: scale(1.05);
}

.post-media-item video {
    display: block;
    background: #000;
}

.post-detail-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.post-detail-platform {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.5rem;
    background: #f3f4f6;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.post-detail-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.post-detail-status.scheduled {
    background: #eff6ff;
    color: #1d4ed8;
}

.post-detail-status.published {
    background: #ecfdf5;
    color: #047857;
}

.post-detail-status.draft {
    background: #fffbeb;
    color: #d97706;
}

.post-detail-status.failed {
    background: #fef2f2;
    color: #dc2626;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .calendar-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .calendar-navigation {
        justify-content: center;
    }
    
    .calendar-filters {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .day-cell {
        min-height: 80px;
        font-size: 0.75rem;
        padding: 0.5rem;
    }
    
    .day-header {
        padding: 0.5rem;
        font-size: 0.75rem;
    }
    
    .calendar-event {
        font-size: 0.625rem;
        padding: 0.125rem 0.25rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .modal-container {
        margin: 1rem;
        max-width: calc(100vw - 2rem);
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .post-detail-media-grid {
        grid-template-columns: 1fr;
    }
    
    .legend-items {
        justify-content: center;
    }
    
    /* Reduce grid template for better mobile scrolling */
    .calendar-header,
    .calendar-body {
        grid-template-columns: repeat(7, minmax(100px, 1fr));
    }
}

/* App Layout Integration */
.app-layout {
    display: flex;
}

.app-layout .main-content {
    flex: 1;
    margin-left: 0;
    padding: 0 !important;
    overflow-x: auto !important;
    overflow-y: auto !important;
    min-height: 100vh;
    transition: margin-left 0.3s ease;
}

/* Add proper spacing to calendar sections */
.main-content > * {
    padding-left: 2rem;
    padding-right: 2rem;
    margin-bottom: 1rem;
}

.main-content .page-header {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
}

.main-content .page-header-content {
    padding-left: 2rem;
    padding-right: 2rem;
}

.main-content .calendar-container {
    margin-bottom: 2rem;
}

.main-content .calendar-legend {
    margin-bottom: 2rem;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .app-layout .main-content {
        margin-left: 0;
        padding: 0 !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        padding-bottom: 2rem !important;
    }
    
    .main-content > * {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .main-content .page-header-content {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Remove padding from calendar container to allow full-width scrolling */
    .main-content .calendar-container {
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 1.5rem;
        border-radius: 0;
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
        width: 100vw;
        max-width: 100vw;
        position: relative;
        left: 0;
        scroll-padding: 0 1rem;
        scroll-snap-type: none;
    }
    
    .calendar-grid {
        min-width: 700px;
        padding: 0 1rem 1rem 1rem;
        box-sizing: border-box;
    }
    
    /* Add visual padding to calendar body for better scroll visibility */
    .calendar-body {
        padding-bottom: 0.5rem;
    }
    
    .calendar-body::after {
        content: '';
        display: block;
        width: 1rem;
        height: 1px;
        position: absolute;
        right: 0;
        bottom: 0;
    }
    
    /* Ensure calendar controls and legend keep padding */
    .main-content .calendar-controls {
        padding-left: 1rem;
        padding-right: 1rem;
        margin-bottom: 1rem;
    }
    
    .main-content .calendar-legend {
        padding-left: 1rem;
        padding-right: 1rem;
        margin-bottom: 2rem;
    }
}

/* Ensure calendar content works with sidebar */
@media (min-width: 769px) {
    .app-layout #app {
        display: flex;
        width: 100%;
    }
}

/* Week View Styles */
.week-view {
    display: flex;
    gap: 1px;
    background: #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.week-day-cell {
    flex: 1;
    background: white;
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

.week-day-header {
    padding: 1rem;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    text-align: center;
}

.day-name {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.day-number {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
}

.week-day-cell.today .day-number {
    color: #3b82f6;
}

.week-day-cell.selected .week-day-header {
    background: #eff6ff;
}

.week-events-container {
    flex: 1;
    padding: 0.5rem;
    overflow-y: auto;
}

.week-event {
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    background: #f3f4f6;
    border-radius: 4px;
    border-left: 4px solid;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.week-event:hover {
    background: #e5e7eb;
    transform: translateY(-1px);
}

.event-time {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.25rem;
    font-size: 0.625rem;
}

.event-content {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.event-content i {
    font-size: 0.75rem;
}

/* Week event platform colors */
.week-event.platform-twitter { border-left-color: #1da1f2; }
.week-event.platform-facebook { border-left-color: #4267b2; }
.week-event.platform-instagram { border-left-color: #e4405f; }
.week-event.platform-linkedin { border-left-color: #0077b5; }
.week-event.platform-tiktok { border-left-color: #000000; }

/* Day View Styles */
.day-view {
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.day-view-header {
    padding: 1.5rem;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    text-align: center;
}

.day-view-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
}

.time-slots-container {
    max-height: 600px;
    overflow-y: auto;
}

.time-slot {
    display: flex;
    border-bottom: 1px solid #f3f4f6;
    min-height: 60px;
}

.time-label {
    width: 80px;
    padding: 1rem 0.75rem;
    background: #f9fafb;
    border-right: 1px solid #e5e7eb;
    font-size: 0.75rem;
    font-weight: 500;
    color: #6b7280;
    display: flex;
    align-items: flex-start;
}

.event-slot {
    flex: 1;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.day-event {
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 6px;
    border-left: 4px solid;
    cursor: pointer;
    transition: all 0.2s ease;
}

.day-event:hover {
    background: #f1f5f9;
    transform: translateX(2px);
}

.day-event .event-time {
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
}

.day-event .event-content {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.day-event .event-content i {
    margin-top: 0.125rem;
    font-size: 0.875rem;
}

/* Day event platform colors */
.day-event.platform-twitter { border-left-color: #1da1f2; }
.day-event.platform-facebook { border-left-color: #4267b2; }
.day-event.platform-instagram { border-left-color: #e4405f; }
.day-event.platform-linkedin { border-left-color: #0077b5; }
.day-event.platform-tiktok { border-left-color: #000000; }

/* Responsive adjustments for week and day views */
@media (max-width: 768px) {
    .week-view {
        flex-direction: column;
        gap: 1px;
    }
    
    .week-day-cell {
        min-height: 200px;
    }
    
    .time-slot {
        min-height: 50px;
    }
    
    .time-label {
        width: 60px;
        padding: 0.75rem 0.5rem;
        font-size: 0.625rem;
    }
    
    .day-event {
        padding: 0.5rem;
    }
}
