/**Layer 77: Content Scheduler - Styling*/
.scheduler-dashboard {
    padding: 2rem 0
}

.scheduler-header {
    text-align: center;
    margin-bottom: 3rem
}

.scheduler-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: .5rem
}

.scheduler-subtitle {
    color: #6b7280;
    font-size: 1.125rem
}

.scheduler-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem
}

.scheduler-stat-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
    position: relative;
    overflow: hidden
}

.scheduler-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b 0%, #ef4444 100%)
}

.scheduler-stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: #f59e0b;
    margin-bottom: .25rem
}

.scheduler-stat-label {
    font-size: .875rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: .5px
}

.scheduler-form {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
    margin-bottom: 2rem
}

.scheduler-form h3 {
    margin: 0 0 1.5rem 0
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: .5rem
}

.form-group label {
    font-size: .875rem;
    font-weight: 600;
    color: #374151
}

.form-input,
.form-select,
.form-textarea {
    padding: .75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: .875rem;
    transition: all .3s
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: 0;
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, .1)
}

.form-textarea {
    min-height: 100px;
    resize: vertical
}

.scheduler-queue {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1)
}

.scheduler-queue-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem
}

.scheduler-queue-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0
}

.queue-items {
    display: flex;
    flex-direction: column;
    gap: 1rem
}

.queue-item {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all .3s
}

.queue-item:hover {
    border-color: #f59e0b;
    box-shadow: 0 4px 12px rgba(245, 158, 11, .1)
}

.queue-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: .75rem
}

.queue-item-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 .25rem 0
}

.queue-item-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: .75rem;
    color: #6b7280
}

.queue-item-actions {
    display: flex;
    gap: .5rem
}

.priority-badge {
    padding: .25rem .75rem;
    border-radius: 12px;
    font-size: .75rem;
    font-weight: 600
}

.priority-critical {
    background: #fee2e2;
    color: #991b1b
}

.priority-high {
    background: #fef3c7;
    color: #92400e
}

.priority-normal {
    background: #dbeafe;
    color: #1e40af
}

.priority-low {
    background: #e5e7eb;
    color: #6b7280
}

.category-badge {
    padding: .25rem .75rem;
    background: rgba(245, 158, 11, .1);
    color: #d97706;
    border-radius: 12px;
    font-size: .75rem;
    font-weight: 600
}

.time-remaining {
    font-size: .875rem;
    color: #6b7280
}

@media (max-width:768px) {

    .scheduler-stats,
    .form-row {
        grid-template-columns: 1fr
    }

    .queue-item-header {
        flex-direction: column;
        gap: 1rem
    }
}