/* public/css/call/call-minimized.css */
.call-minimized {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 280px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(16px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    cursor: pointer;
    z-index: 10000;
    transition: transform 0.2s, box-shadow 0.2s;
    animation: slideInRight 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.call-minimized:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
    background: rgba(0, 0, 0, 0.9);
}

.minimized-video {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    overflow: hidden;
    background: #1a1a2e;
    flex-shrink: 0;
}

.minimized-remote {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.minimized-local {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    object-fit: cover;
}

.minimized-avatar {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.minimized-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.minimized-name {
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.minimized-status {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
}

.minimized-end-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--danger);
    border: none;
    color: white;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.minimized-end-btn:hover {
    transform: scale(1.1);
    background: var(--danger-dark);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .call-minimized {
        bottom: 12px;
        right: 12px;
        width: 240px;
        padding: 6px 10px;
    }
    .minimized-video {
        width: 40px;
        height: 40px;
    }
}