.sticker-manager {
  margin-bottom: 1.5rem;
}

.sticker-title {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--text-color);
}

.sticker-dropzone {
  background: rgba(255, 255, 255, 0.5);
  border: 2px dashed rgba(124, 58, 237, 0.3);
  border-radius: var(--card-radius);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.dropzone-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.dropzone-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  display: block;
  opacity: 0.8;
}

.dropzone-content p {
  margin-bottom: 1.25rem;
  color: var(--gray-color);
}

.dropzone-content small {
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

.btn-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform-origin: center;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.btn-custom:active {
  transform: scale(0.95);
}

.btn-custom::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.btn-custom:hover::before {
  left: 100%;
}

.btn-custom.btn-outline {
  background: var(--glass-background);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: none;
  color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.btn-custom.btn-outline:hover {
  background: var(--primary-gradient);
  color: white;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.35);
  transform: translateY(-3px);
}

.file-upload-btn {
  width: auto !important; 
  min-width: 120px !important;
  height: auto !important;
  border-radius: var(--border-radius) !important;
  padding: 0.6rem 1.2rem !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.file-upload-btn .file-btn-text {
  display: inline !important;
  visibility: visible !important;
  margin-left: 0.5rem !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  overflow: visible !important;
}

@media (max-width: 768px) {
  .btn-custom {
    width: auto !important;
    height: auto !important;
    border-radius: var(--border-radius) !important;
  }
  
  .btn-text,
  .file-btn-text {
    display: inline !important;
  }

  .btn-custom i {
    margin-right: 0.5rem !important;
  }
}

@media (max-width: 576px) {
  .file-upload-btn {
    padding: 0.5rem 1rem !important;
    font-size: 0.9rem !important;
  }
}

.sticker-preview-area {
  margin-top: 1.5rem;
}

.sticker-preview-area h5 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.stickers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 0.75rem;
}

.sticker-item {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  background-color: var(--card-bg);
}

.sticker-preview {
  position: relative;
  padding-top: 100%;
  background-color: rgba(0, 0, 0, 0.05);
  background-image: 
    repeating-linear-gradient(45deg, 
      rgba(255, 255, 255, 0.1) 0, 
      rgba(255, 255, 255, 0.1) 8px, 
      rgba(0, 0, 0, 0.05) 8px, 
      rgba(0, 0, 0, 0.05) 16px);
}

.sticker-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.sticker-controls {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  gap: 4px;
  padding: 4px;
}

.sticker-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.sticker-delete:hover {
  background-color: var(--danger-color);
}
