/* Recordings UI Styles */

.recording-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.recording-card:hover {
    border-color: #2a5298;
    box-shadow: 0 4px 16px rgba(42, 82, 152, 0.15);
    transform: translateY(-2px);
}

.recording-icon {
    font-size: 3em;
    flex-shrink: 0;
}

.recording-info {
    flex: 1;
    min-width: 0;
}

.recording-info h4 {
    margin: 0 0 10px 0;
    color: #1e3c72;
    font-size: 1.1em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.recording-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 0.9em;
    color: #666;
}

.recording-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.btn-download,
.btn-delete {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
}

.btn-download {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

.btn-delete {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
}

.btn-delete:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.stat-item {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 2px solid #dee2e6;
}

.stat-icon {
    font-size: 2.5em;
}

.stat-info {
    flex: 1;
}

.stat-label {
    font-size: 0.85em;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 1.8em;
    font-weight: bold;
    color: #1e3c72;
    margin-top: 5px;
}

.stat-extra {
    font-size: 0.8em;
    color: #28a745;
    margin-top: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .recording-card {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .recording-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .btn-download,
    .btn-delete {
        width: 100%;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}
