/* ==========================================================================
   Utilities - Helper Classes & Common Patterns
   ========================================================================== */

.highlight {
    background-color: #fff3cd;
    font-weight: bold;
}

/* Delete Button (for watched items) */
.delete-btn {
    background-color: #ff4757;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.delete-btn:hover {
    background-color: #ff3838;
}

.delete-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.action-cell {
    text-align: center;
}

/* Back Link */
.back-link {
    display: inline-block;
    margin-bottom: 1rem;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.back-link:hover {
    text-decoration: underline;
}

/* Watched Items Container */
.watched-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.watched-table {
    width: 100%;
    background: white;
    border-radius: 10px;
    overflow-x: auto;
    overflow-y: visible;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.watched-table table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
    table-layout: auto;
}

.watched-table th {
    background: #667eea;
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
}

.watched-table td {
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.watched-table tr:hover {
    background-color: #f8f9ff;
}

/* No Items Message */
.no-items {
    text-align: center;
    padding: 3rem;
    color: #666;
}