:root {
    --primary-color: #e50914;
    --secondary-color: #221f1f;
    --text-color: #ffffff;
    --bg-color: #141414;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.video-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s;
    background-color: var(--secondary-color);
    margin-bottom: 20px;
}

.video-card:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.video-thumbnail {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.video-info {
    padding: 10px;
}

.video-title {
    font-weight: 600;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-meta {
    font-size: 0.85rem;
    color: #aaaaaa;
}

.video-player-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
}

.video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.reaction-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.reaction-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.2s;
    position: relative;
}

.reaction-btn:hover {
    transform: scale(1.2);
}

.reaction-btn.active {
    transform: scale(1.3);
}

.reaction-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
}

.upload-form {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
}

.form-control,
.form-select {
    background-color: #333;
    border: 1px solid #555;
    color: white;
}

.form-control:focus,
.form-select:focus {
    background-color: #333;
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 0 0 0.25rem rgba(229, 9, 20, 0.25);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

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

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.user-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background-color: var(--secondary-color);
    border-radius: 8px;
    margin-bottom: 15px;
}

.user-info h5 {
    margin: 0;
    font-weight: 600;
}

.user-info p {
    margin: 0;
    font-size: 0.85rem;
    color: #aaaaaa;
}

.stats-card {
    background-color: var(--secondary-color);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 20px;
}

.stats-card h3 {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.stats-card p {
    margin: 0;
    color: #aaaaaa;
}

.monetization-status {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.monetization-enabled {
    background-color: rgba(40, 167, 69, 0.2);
    border: 1px solid #28a745;
}

.monetization-disabled {
    background-color: rgba(220, 53, 69, 0.2);
    border: 1px solid #dc3545;
}

.earnings-card {
    background-color: var(--secondary-color);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.earnings-amount {
    font-size: 2rem;
    font-weight: bold;
    color: #28a745;
}

.watch-progress {
    height: 4px;
    background-color: rgba(255, 255, 255, 0.3);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.watch-progress-bar {
    height: 100%;
    background-color: var(--primary-color);
    width: 0%;
}

.category-pill {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--secondary-color);
    border-radius: 20px;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.category-pill:hover {
    background-color: var(--primary-color);
    text-decoration: none;
    color: white;
}

@media (max-width: 768px) {
    .video-card {
        margin-bottom: 15px;
    }

    .video-thumbnail {
        height: 140px;
    }

    .reaction-buttons {
        justify-content: center;
    }
}