/* Phase 1 Recording Styles - Minimal Version */

/* Marker Count Mini */
.marker-count-mini {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
    margin-left: 10px;
}

.marker-count-mini span {
    background: rgba(0, 0, 0, 0.1);
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: bold;
}

/* Review Modal */
.review-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.review-modal .modal-content {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.review-modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.review-modal .modal-header h3 {
    margin: 0;
    font-size: 20px;
}

.review-modal .close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.review-modal .close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.review-modal .modal-body {
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.review-modal .detection-info {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
}

.review-modal .detection-info p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.review-modal .markers-list {
    margin-bottom: 20px;
}

.review-modal .marker-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.review-modal .marker-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.review-modal .marker-info {
    display: flex;
    align-items: center;
    flex: 1;
}

.review-modal .marker-number {
    background: #3498db;
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    font-size: 14px;
}

.review-modal .marker-details {
    flex: 1;
}

.review-modal .marker-time {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 3px;
}

.review-modal .marker-confidence {
    font-size: 12px;
    color: #666;
}

.review-modal .marker-actions {
    display: flex;
    gap: 5px;
}

.review-modal .btn-remove {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
}

.review-modal .btn-remove:hover {
    background: #c0392b;
    transform: translateY(-1px);
}

.review-modal .add-marker-section {
    text-align: center;
    margin-bottom: 20px;
}

.review-modal .btn-add-marker {
    background: #2ecc71;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: bold;
}

.review-modal .btn-add-marker:hover {
    background: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.review-modal .modal-footer {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    border-top: 1px solid #eee;
    background: #f8f9fa;
}

.review-modal .btn-confirm {
    background: #2ecc71;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: bold;
}

.review-modal .btn-confirm:hover {
    background: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.review-modal .btn-cancel {
    background: #95a5a6;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: bold;
}

.review-modal .btn-cancel:hover {
    background: #7f8c8d;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .marker-count-mini {
        margin-left: 0;
    }
    
    .review-modal .modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .review-modal .marker-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .review-modal .marker-info {
        width: 100%;
    }
    
    .review-modal .marker-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .marker-count-mini {
        color: #ccc;
    }
    
    .marker-count-mini span {
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
    }
    
    .review-modal .modal-content {
        background: #2c3e50;
        color: white;
    }
    
    .review-modal .modal-header {
        background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    }
    
    .review-modal .detection-info {
        background: #34495e;
        border-color: #4a5f7a;
        color: #ecf0f1;
    }
    
    .review-modal .marker-item {
        background: #34495e;
        border-color: #4a5f7a;
        color: #ecf0f1;
    }
    
    .review-modal .marker-item:hover {
        background: #4a5f7a;
    }
    
    .review-modal .modal-footer {
        background: #34495e;
        border-color: #4a5f7a;
    }
}