#quicksend .card {
  background: transparent;
  box-shadow: none;
  padding: 0;
  display: flex;
  flex-direction: column;
}

#quicksend [style*="display: block"] {
  display: block !important;
}

#quicksend [style*="display: none"] {
  display: none !important;
}

#quicksend-receiver-container[style*="display: block"],
#quicksend-sender-container[style*="display: block"],
#quicksend-send-btn-container[style*="display: block"] {
  display: block !important;
}

.quicksend-initial-setup {
  max-width: 500px;
  margin: 80px auto;
  text-align: center;
  animation: fadeInUp 0.5s ease;
}

.initial-pseudo-card {
  background: var(--card-color);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.initial-pseudo-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 15px;
}

.pseudo-input {
  width: 100%;
  padding: 14px 18px;
  font-size: 16px;
  border: 2px solid #2a2a2a;
  border-radius: 12px;
  background: #1a1a1a;
  color: var(--text-color);
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.pseudo-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

.pseudo-input::placeholder {
  color: #666;
}

.quicksend-send-action {
  max-width: 500px;
  margin: 30px auto 40px;
  text-align: center;
  animation: fadeInUp 0.5s ease;
  order: 2;
}

.quicksend-container {
  max-width: 600px;
  margin: 40px auto 0;
  animation: fadeInUp 0.5s ease;
  order: 1;
}

.quicksend-waiting {
  background: var(--card-color);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
}

.waiting-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.waiting-status i.fa-circle-notch {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.waiting-status h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-color);
  margin: 0;
}

.waiting-status p {
  font-size: 16px;
  color: #888;
  margin: 5px 0;
}

.waiting-hint {
  font-size: 14px !important;
  color: #666 !important;
}

.quicksend-incoming-request {
  background: var(--card-color);
  border-radius: 16px;
  padding: 40px;
  animation: fadeInUp 0.5s ease;
}

.incoming-request-card {
  text-align: center;
}

.incoming-request-card > i {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.incoming-request-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 25px;
}

.incoming-file-details {
  background: #2a2a2a;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 25px;
}

.file-name-display {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 8px;
}

.file-size-display {
  font-size: 14px;
  color: #888;
}

.request-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.request-actions button {
  flex: 1;
  max-width: 200px;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.request-actions .primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
}

.request-actions .secondary-btn {
  background: #2a2a2a;
  color: #fff;
}

.request-actions .secondary-btn:hover {
  background: #3a3a3a;
  transform: translateY(-2px);
}

.quicksend-download-progress {
  background: var(--card-color);
  border-radius: 16px;
  padding: 40px;
  animation: fadeInUp 0.5s ease;
}

.quicksend-download-progress h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 25px;
  text-align: center;
}

.quicksend-download-complete {
  background: var(--card-color);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  animation: fadeInUp 0.5s ease;
}

.download-complete-icon {
  width: 100px;
  height: 100px;
  background: rgba(74, 222, 128, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.download-complete-icon i {
  font-size: 50px;
  color: #4ade80;
}

.quicksend-download-complete h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 10px;
}

.quicksend-download-complete p {
  font-size: 16px;
  color: #888;
  margin-bottom: 25px;
}

.quicksend-sender-container {
  max-width: 700px;
  margin: 60px auto;
  animation: fadeInUp 0.5s ease;
}

.quicksend-file-selection {
  background: var(--card-color);
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 25px;
}

.quicksend-file-selection h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 20px;
  text-align: center;
}

.file-drop-area {
  border: 2px dashed #444;
  border-radius: 12px;
  padding: 50px 30px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.file-drop-area:hover {
  border-color: var(--primary-color);
  background: rgba(124, 58, 237, 0.05);
}

.file-drop-area.drag-over {
  border-color: var(--primary-color);
  background: rgba(124, 58, 237, 0.1);
  transform: scale(1.02);
}

.file-drop-area > i {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 15px;
  display: block;
}

.file-drop-area p {
  font-size: 16px;
  color: #888;
  margin-bottom: 15px;
}

.select-file-btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--primary-color);
  color: white;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.select-file-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.quicksend-selected-file {
  margin-top: 20px;
}

.file-preview-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: #2a2a2a;
  border-radius: 12px;
}

.file-preview-card > i {
  font-size: 40px;
  color: var(--primary-color);
}

.file-info-text {
  flex: 1;
}

.file-info-text .file-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 5px;
}

.file-info-text .file-size {
  font-size: 14px;
  color: #888;
}

.icon-btn {
  width: 36px;
  height: 36px;
  background: #3a3a3a;
  border: none;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-btn:hover {
  background: #4a4a4a;
  transform: scale(1.1);
}

.quicksend-users-list {
  background: var(--card-color);
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 25px;
}

.quicksend-users-list h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 20px;
  text-align: center;
}

.users-list-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.no-users-message {
  text-align: center;
  color: #888;
  padding: 30px;
  font-size: 16px;
}

.user-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  background: #2a2a2a;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.user-item:hover {
  background: #3a3a3a;
  transform: translateX(5px);
}

.quicksend-sender-waiting {
  background: var(--card-color);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  animation: fadeInUp 0.5s ease;
}

.quicksend-request-refused {
  background: var(--card-color);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  animation: fadeInUp 0.5s ease;
}

.quicksend-request-refused h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-color);
  margin: 20px 0 25px;
}

.quicksend-upload-progress {
  background: var(--card-color);
  border-radius: 16px;
  padding: 40px;
  animation: fadeInUp 0.5s ease;
}

.quicksend-upload-progress h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 25px;
  text-align: center;
}

.quicksend-upload-complete {
  background: var(--card-color);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  animation: fadeInUp 0.5s ease;
}

.upload-complete-icon {
  width: 100px;
  height: 100px;
  background: rgba(74, 222, 128, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.upload-complete-icon i {
  font-size: 50px;
  color: #4ade80;
}

.quicksend-upload-complete h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 10px;
}

.quicksend-upload-complete p {
  font-size: 16px;
  color: #888;
  margin-bottom: 25px;
}

.quicksend-home {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.quicksend-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: var(--card-color);
  border-radius: 16px;
  margin-bottom: 30px;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.user-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-hover)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  font-weight: 700;
}

.user-details h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 4px;
}

.user-status {
  font-size: 14px;
  color: #888;
}

.user-status.connected {
  color: #4ade80;
}

.user-status i {
  margin-right: 5px;
}

.connected-users-section {
  background: var(--card-color);
  border-radius: 16px;
  padding: 25px;
  margin-bottom: 30px;
}

.connected-users-section h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.connected-users-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.user-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  background: #2a2a2a;
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.user-item:hover {
  background: #3a3a3a;
  transform: translateX(5px);
}

.user-item-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.user-item-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-hover)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: white;
  font-weight: 700;
}

.user-item-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color);
}

.user-item-action button {
  padding: 8px 16px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.user-item-action button:hover {
  background: var(--primary-hover);
  transform: scale(1.05);
}

.quicksend-file-area {
  background: var(--card-color);
  border-radius: 16px;
  padding: 25px;
  margin-bottom: 30px;
}

.quicksend-file-area h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 20px;
}

.file-drop-zone {
  border: 2px dashed #444;
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.file-drop-zone:hover {
  border-color: var(--primary-color);
  background: rgba(124, 58, 237, 0.05);
}

.file-drop-zone.drag-over {
  border-color: var(--primary-color);
  background: rgba(124, 58, 237, 0.1);
  transform: scale(1.02);
}

.file-drop-zone i {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.file-drop-zone p {
  font-size: 16px;
  color: #888;
  margin-bottom: 8px;
}

.file-drop-zone .file-hint {
  font-size: 14px;
  color: #666;
}

.selected-file-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background: #2a2a2a;
  border-radius: 12px;
  margin-top: 20px;
}

.selected-file-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.selected-file-icon {
  width: 50px;
  height: 50px;
  background: #3a3a3a;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary-color);
}

.selected-file-details h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 4px;
}

.selected-file-size {
  font-size: 14px;
  color: #888;
}

.transfer-interface {
  background: var(--card-color);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
}

.transfer-user-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.transfer-avatar {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-hover)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  font-weight: 700;
}

.transfer-arrow {
  font-size: 24px;
  color: var(--primary-color);
}

.transfer-status-message {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 30px;
}

.quicksend-progress-bar {
  width: 100%;
  height: 8px;
  background: #2a2a2a;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 15px;
}

.quicksend-progress-fill {
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--primary-hover)
  );
  transition: width 0.3s ease;
  border-radius: 10px;
}

.transfer-stats {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #2a2a2a;
}

.transfer-stat {
  text-align: center;
}

.transfer-stat-label {
  font-size: 14px;
  color: #888;
  margin-bottom: 5px;
}

.transfer-stat-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-color);
}

.transfer-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
}

.transfer-actions button {
  flex: 1;
  max-width: 200px;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.transfer-complete {
  text-align: center;
  padding: 40px 20px;
}

.transfer-complete-icon {
  width: 100px;
  height: 100px;
  background: rgba(74, 222, 128, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.transfer-complete-icon i {
  font-size: 50px;
  color: #4ade80;
}

.transfer-complete h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 10px;
}

.transfer-complete p {
  font-size: 16px;
  color: #888;
  margin-bottom: 25px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.loading-pulse {
  animation: pulse 1.5s ease-in-out infinite;
}

@media (max-width: 768px) {
  .quicksend-header {
    flex-direction: column;
    gap: 15px;
  }

  .transfer-stats {
    flex-direction: column;
    gap: 15px;
  }

  .transfer-actions {
    flex-direction: column;
  }

  .transfer-actions button {
    max-width: 100%;
  }
}
