/* Custom styles for YouTube Live Manager */

.toast {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 50;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    color: white;
    font-size: 0.875rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateX(120%);
    transition: transform 0.3s ease;
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    background-color: #059669;
}

.toast.error {
    background-color: #dc2626;
}

.toast.info {
    background-color: #2563eb;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-live {
    background-color: #fef2f2;
    color: #dc2626;
    animation: pulse-live 2s infinite;
}

.status-testing {
    background-color: #fefce8;
    color: #ca8a04;
}

.status-ready {
    background-color: #f0fdf4;
    color: #16a34a;
}

.status-created {
    background-color: #f0f9ff;
    color: #2563eb;
}

.status-complete {
    background-color: #f9fafb;
    color: #6b7280;
}

@keyframes pulse-live {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.15s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: #dc2626;
    color: white;
}
.btn-primary:hover {
    background-color: #b91c1c;
}

.btn-secondary {
    background-color: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}
.btn-secondary:hover {
    background-color: #e5e7eb;
}

.btn-danger {
    background-color: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}
.btn-danger:hover {
    background-color: #fee2e2;
}

.btn-success {
    background-color: #059669;
    color: white;
}
.btn-success:hover {
    background-color: #047857;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.loading-spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid #e5e7eb;
    border-top-color: #dc2626;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
