.file-preview { display: flex; align-items: center; justify-content: space-between; padding: 1rem; margin: 0.75rem 0; background-color: white; border: 1px solid #e1e8ed; border-radius: 8px; transition: all 0.3s ease; box-shadow: 0 2px 5px rgba(0,0,0,0.05); } .file-preview:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); } .file-info { display: flex; flex-direction: column; overflow: hidden; gap: 0.3rem; } .file-name { font-size: 1rem; font-weight: 500; color: #2c3e50; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .file-size { font-size: 0.85rem; color: #7f8c8d; } .remove-file { background: none; border: none; color: #e74c3c; font-size: 1.4rem; cursor: pointer; padding: 0.5rem; border-radius: 50%; width: 35px; height: 35px; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; } .remove-file:hover { background-color: #fde8e8; color: #c0392b; transform: scale(1.1); }