﻿body {
    background: #0f1115;
    color: #f3f4f6;
    font-family: 'Segoe UI', sans-serif;
}

.bg-slate {
    background: #0f1115;
}

.summary-counters .card {
    background: linear-gradient(145deg, #1f2937, #111827);
    border-radius: 16px;
}

.section-block {
    border-left: 4px solid rgba(34, 197, 94, 0.2);
    padding-left: 1rem;
}

.camera-card {
    border-radius: 16px;
    overflow: hidden;
}

.preview-wrapper {
    position: relative;
    min-height: 240px;
}

.preview-wrapper img {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.btn-play {
    position: absolute;
    bottom: 24px;
    right: 24px;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.9);
    border: none;
    color: #fff;
    box-shadow: 0 18px 35px rgba(34, 197, 94, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 22px rgba(34, 197, 94, 0.45);
}

.log-list {
    max-height: 220px;
    overflow-y: auto;
}

.log-item + .log-item {
    margin-top: 0.5rem;
}

.material-symbol {
    font-size: 20px;
    margin-left: 2px;
}

.modal-content {
    border-radius: 16px;
}

#cameraPlayer {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    background: #000;
}


.camera-link-group .form-control {
    background-color: rgba(15, 17, 21, 0.85);
    color: #e5e7eb;
    font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
    font-size: 0.85rem;
    border-color: rgba(148, 163, 184, 0.4);
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.camera-link-group .form-control:focus {
    box-shadow: none;
    border-color: rgba(34, 197, 94, 0.65);
}

.camera-link-group .btn-copy-link {
    white-space: nowrap;
}
