body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  color: #333;
  box-sizing: border-box;
}

.container {
  padding: 80px 20px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.title {
  font-size: 28px;
  color: #6a0dad;
  text-align: center;
  margin-bottom: 20px;
  margin-top: -20px;
  animation: fadeInUp 0.7s cubic-bezier(.77,0,.18,1) both;
  animation-delay: 0.05s;
}

.design-area {
  display: grid;
  grid-template-columns: 1fr 2.5fr 1fr;
  gap: 32px;
  margin-top: 30px;
}

.left-panel, .right-panel {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(124,58,237,0.07);
  padding: 24px 18px;
  max-width: 260px;
  width: 100%;
  box-sizing: border-box;
  animation: slideInLeft 0.8s cubic-bezier(.77,0,.18,1) both;
  animation-delay: 0.3s;
}

.design-option {
  margin-bottom: 15px;
  padding: 10px;
  background: #f0eaff;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.popup-btn {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ddd;
  background: #fff;
  color: #5E20E1;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 20px;
  border-radius: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.popup-btn:hover {
  background: #f9f9f9;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.popup-btn.active {
  background: #f0eaff;
  border-color: #7c3aed;
  color: #7c3aed;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(124, 58, 237, 0.2);
}

.popup-btn .icon {
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
}

.popup-btn.primary {
  background: linear-gradient(to right, #6a0dad, #a200ff);
  color: #fff;
  border: none;
}

.popup-btn.primary:hover {
  background: linear-gradient(to right, #5a009d, #8e00d6);
}

.popup-btn.secondary {
  background: linear-gradient(to right, #00cc00, #00b300);
  color: #fff;
  border: none;
}

.popup-btn.secondary:hover {
  background: linear-gradient(to right, #00b300, #009900);
}

/* Disabled popup-btn styles */
.popup-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
  transform: none !important;
}

.popup-btn:disabled:hover {
  transform: none !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

.color-options {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(.4,0,.2,1), opacity 0.25s;
  display: none;
}

.color-options.dropdown-open {
  max-height: 300px;
  opacity: 1;
  margin-top: 8px;
}

.color-options.active {
  display: block;
  max-height: 300px;
  opacity: 1;
  margin-top: 8px;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.color-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: 100%;
}

.color {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #ccc;
  cursor: pointer;
  margin: auto;
  transition: transform 0.2s ease;
}

.color[data-color="white"] { background-color: #ffffff; }
.color[data-color="black"] { background-color: #000000; }
.color[data-color="blue"] { background-color: #96b5e2; }
.color[data-color="green"] { background-color: #003b33; }
.color[data-color="yellow"] { background-color: #fab40d; }
.color[data-color="pink"] { background-color: #f2b9c7; }

.color:hover {
  transform: scale(1.1);
}

.text-input, .file-input {
  width: 100%;
  padding: 8px 15px;
  margin-top: 10px;
  border: 1px solid #ccc;
  border-radius: 15px;
  box-sizing: border-box;
}

.file-input {
  display: none !important;
}

.mockup-options,
.pattern-options {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(.4,0,.2,1), opacity 0.25s;
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.mockup-options.dropdown-open,
.pattern-options.dropdown-open {
  max-height: 300px;
  opacity: 1;
  margin-top: 8px;
}

.mockup-options.active, .pattern-options.active {
  display: flex;
  max-height: 300px;
  opacity: 1;
  margin-top: 8px;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.mockup-img, .pattern-img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 5px;
  cursor: pointer;
}

.center-panel {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(124,58,237,0.07);
  padding: 32px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 700px;
  width: 100%;
  overflow: hidden;
  min-width: 600px;
  min-height: 600px;
  height: 600px;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  animation: fadeInUp 0.8s cubic-bezier(.77,0,.18,1) both;
  animation-delay: 0.15s;
}

.design-canvas {
  position: relative;
  width: 600px;
  height: 600px;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
  cursor: grab;
  user-select: none;
  box-shadow: none;
}

.design-canvas:active {
  cursor: grabbing;
}

.design-canvas:hover {
  cursor: grab;
}

.product-image {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transform: translate(-50%, -50%);
  z-index: 1 !important;
  pointer-events: none;
  border: none !important;
}

.design-text, .design-image, .design-pattern {
  position: absolute;
  cursor: move;
  z-index: 20;
  /* Bỏ viền đỏ */
}

.design-image, .design-pattern {
  position: absolute !important;
  z-index: 10 !important;
  box-sizing: border-box !important;
}

.design-image:hover, .design-pattern:hover {
  cursor: move;
}

.design-image:hover::after, .design-pattern:hover::after {
  content: '';
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 16px;
  height: 16px;
  background: rgba(0, 196, 204, 0.9);
  border: 2px solid #00C4CC;
  border-radius: 3px;
  pointer-events: none;
  z-index: 30;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.design-image:hover::before, .design-pattern:hover::before {
  content: '';
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 1px;
  pointer-events: none;
  z-index: 31;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.design-image.selected, .design-pattern.selected {
  outline: 2px solid #00C4CC;
  outline-offset: 2px;
}

.design-image.selected::after, .design-pattern.selected::after {
  content: '';
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 16px;
  height: 16px;
  background: rgba(0, 196, 204, 0.9);
  border: 2px solid #00C4CC;
  border-radius: 3px;
  pointer-events: none;
  z-index: 30;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.design-image.selected::before, .design-pattern.selected::before {
  content: '';
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 1px;
  pointer-events: none;
  z-index: 31;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.delete-btn {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 20px;
  height: 20px;
  background: #ff4d4d;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
  z-index: 70;
  pointer-events: auto;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.delete-btn:hover {
  background: #cc0000;
}

.design-image:hover .delete-btn, .design-pattern:hover .delete-btn {
  display: flex;
}

.text-edit-panel {
  display: none;
  position: absolute;
  top: 50%;
  left: calc(50% + 150px);
  transform: translateY(-50%);
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.text-edit-panel.active {
  display: block;
}

.text-edit-panel label {
  display: block;
  margin: 10px 0 5px;
  color: #5E20E1;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
}

.text-edit-panel select, .text-edit-panel input[type="color"] {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.text-edit-panel button {
  padding: 10px 20px;
  background: #5E20E1;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.text-edit-panel button:hover {
  background: #4a1789;
}

.footer {
  background-color: #0e1122;
  color: #fff;
  padding: 40px 20px 20px;
  font-size: 14px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer-section {
  flex: 1 1 200px;
  min-width: 180px;
}

.footer-logo {
  width: 120px;
  margin-bottom: 5px;
}

.tagline {
  margin: 8px 0;
  margin-top: 3px;
  margin-bottom: 10px;
  font-size: 17px;
  color: #ccc;
}

.support {
  margin-top: 60px;
  margin-bottom: 10px;
  color: #ddd;
}

.support a {
  color: #C5ED51;
  text-decoration: none;
}

.support a:hover {
  text-decoration: underline;
}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
}

.social-icons img {
  height: 28px;
  width: 28px;
}

.footer-section h4 {
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: bold;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  color: #ccc;
}

.footer-section ul li {
  margin: 6px 0;
}

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
}

.footer-section ul li a:hover {
  text-decoration: underline;
}

.payment-methods img {
  height: 30px;
  margin-right: 8px;
  margin-top: 10px;
}

.footer-bottom {
  text-align: center;
  color: #888;
  margin-top: 30px;
  border-top: 1px solid #444;
  padding-top: 15px;
  font-size: 13px;
}

.footer-bottom a {
  color: #888;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

.user-btn.active {
  background-color: #5B22D4;
  color: #fff;
  border-color: #5B22D4;
}

.user-btn {
  background: none;
  border: 2px solid #5B22D4;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 16px;
  font-weight: 600;
  color: #5B22D4;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  outline: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.user-btn:hover {
  background-color: #f9f9f9;
  color: #4a1cb3;
}

.search-input {
  padding: 8px 15px;
  border: 1px solid #ddd;
  border-radius: 20px;
  outline: none;
  font-size: 14px;
}

.user-menu {
  position: relative;
  display: inline-block;
}

.user-dropdown {
  display: none;
  position: absolute;
  right: 0;
  background-color: #fff;
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 5px;
  padding: 10px 0;
}

.user-dropdown a {
  color: #333;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.user-dropdown a:hover {
  background-color: #f1f1f1;
}

.user-btn:hover + .user-dropdown, .user-dropdown:hover {
  display: block;
}

/* Media query để đảm bảo responsive */
@media (max-width: 768px) {
  .design-area {
    grid-template-columns: 1fr;
  }
  .right-panel, .product-description, .description-form {
    max-width: 100%;
    padding: 10px;
  }
  .form-input {
    font-size: 16px;
    padding: 8px 10px;
  }
}
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.modal-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px;
  border-radius: 10px;
  width: 300px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.modal-content h3 {
  margin: 0 0 15px;
  color: #6a0dad;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

.modal-content button {
  padding: 10px 20px;
  background: #5E20E1;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.modal-content button:hover {
  background: #4a1789;
}

/* Custom notification box giống signup-designer */
.notification-box {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #fff;
  color: #000;
  padding: 15px 25px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  font-size: 16px;
  font-weight: bold;
  animation: slideIn 0.5s ease-out, fadeOut 2s ease-out 2s forwards;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.layer-panel {
  width: 100%;
  border-radius: 18px;
  padding: 18px 0 18px 0;
  margin-top: 18px;
  background: #f6f4ff;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.layer-panel-title {
  width: 90%;
  background: #fff;
  border-radius: 18px;
  padding: 14px 0;
  margin-bottom: 16px;
  color: #7c3aed;
  font-weight: 700;
  font-size: 22px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 2px 8px rgba(124,58,237,0.04);
}

.layer-panel-title .icon {
  width: 28px;
  height: 28px;
}

.layer-list {
  width: 92%;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  overflow-x: hidden;
}

.layer-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: 12px;
  margin-bottom: 10px;
  padding: 10px 14px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: border 0.2s;
  width: 100%;
  box-sizing: border-box;
}

.layer-item.selected {
  border: 1.5px solid #7c3aed;
  background: #ede9fe;
}

.layer-controls {
  display: flex;
  gap: 4px;
}

.layer-btn {
  background: #ede9fe;
  color: #7c3aed;
  border: none;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s;
}

.layer-btn:hover {
  background: #d1c4e9;
}

.zoom-controls {
  display: flex;
  gap: 18px;
  margin-top: 18px;
  width: 100%;
  justify-content: center;
  padding: 10px 0;
  background: transparent;
  border: none;
  position: static;
  z-index: 100;
}

.zoom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 90px;
  height: 80px;
  background: #f7eaff;
  border: none;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(124,58,237,0.08);
  cursor: pointer;
  font-size: 16px;
  color: #6a0dad;
  font-weight: 700;
  transition: box-shadow 0.18s, background 0.18s, color 0.18s;
  margin-bottom: 0;
}

.zoom-btn .icon {
  width: 26px;
  height: 26px;
  margin-bottom: 2px;
}

.zoom-btn:hover, .zoom-btn:focus {
  background: #f3e8ff;
  color: #5e20e1;
  box-shadow: 0 4px 16px rgba(124,58,237,0.13);
}

.size-input-panel {
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  margin-top: 15px;
  box-shadow: 0 2px 8px rgba(124,58,237,0.08);
  border: 1px solid #e9d5ff;
  width: 100%;
  box-sizing: border-box;
}

.size-input-title {
  font-size: 14px;
  font-weight: 600;
  color: #6a0dad;
  margin-bottom: 10px;
  text-align: center;
}

.size-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-bottom: 12px;
}

.size-inputs input {
  width: 70px;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 6px;
  text-align: center;
  font-size: 14px;
}

.size-inputs input:focus {
  outline: none;
  border-color: #6a0dad;
  box-shadow: 0 0 0 2px rgba(106, 13, 173, 0.1);
}

.size-inputs span {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.size-button-container {
  display: flex;
  justify-content: center;
}

#applySizeBtn {
  background: #6a0dad;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
  width: 100%;
  max-width: 120px;
}

#applySizeBtn:hover {
  background: #5e20e1;
}

.product-description {
  background: #fff;
  padding: 36px 32px 32px 32px;
  border-radius: 28px;
  color: #333;
  margin-top: 32px;
  box-shadow: 0 2px 8px rgba(124,58,237,0.06);
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}

.product-description h2 {
  margin-top: 0;
  text-align: center;
  font-size: 38px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: #6a0dad;
  margin-bottom: 8px;
}

.product-description .subtitle {
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  color: #6a0dad;
  margin-bottom: 28px;
}

.description-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 100%;
  box-sizing: border-box;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-bottom: 28px;
}

.form-group label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #6a0dad;
  margin-bottom: 2px;
}

.form-input {
  width: 100%;
  padding: 18px 22px;
  border: 2.5px solid #6a0dad;
  background: #fff;
  color: #333;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 22px;
  border-radius: 40px;
  outline: none;
  box-sizing: border-box;
  transition: border 0.2s;
}

.form-input:focus {
  border: 2.5px solid #a259f7;
}

.form-group input[type="number"], .form-group input#priceInput {
  text-align: left;
  font-size: 20px;
}

@media (max-width: 700px) {
  .product-description {
    padding: 24px 8px 24px 8px;
    border-radius: 18px;
  }
}

.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.action-btn {
  width: 100%;
  background: #ede9fe;
  color: #7c3aed;
  border: none;
  border-radius: 12px;
  padding: 14px 0;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

/* --- Minimal, hover-only, light-color resize handle --- */
.resize-handle {
  display: none !important;
  position: absolute !important;
  width: 2px !important;
  height: 2px !important;
  background: #f8faff !important;
  border: 1px solid #e0e7ef !important;
  border-radius: 50% !important;
  z-index: 10002 !important;
  pointer-events: auto !important;
  box-shadow: none !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background 0.2s, border 0.2s !important;
}

.design-element-container:hover .resize-handle {
  display: flex !important;
}

.resize-handle:hover {
  background: #e6eaff !important;
  border-color: #d1d5db !important;
}

.design-element-container {
  outline: none !important;
}

.design-element-container:hover {
  outline: 1.5px solid #e0e7ef !important;
  outline-offset: 0px;
  z-index: 10001 !important;
}

.resize-handle.br { bottom: -1px !important; right: -1px !important; cursor: nwse-resize !important; }
.resize-handle.bl { bottom: -1px !important; left: -1px !important; cursor: nesw-resize !important; }
.resize-handle.tr { top: -1px !important; right: -1px !important; cursor: nesw-resize !important; }
.resize-handle.tl { top: -1px !important; left: -1px !important; cursor: nwse-resize !important; }

/* Debug: add a border to the image */
.design-pattern.selected, .design-image.selected {
  border: 2px solid blue !important;
}

.design-element-container {
  position: absolute;
  box-sizing: border-box;
  pointer-events: auto;
}

.design-element-container.selected {
  outline: 2.5px solid #7c3aed !important;
  outline-offset: 0px;
  z-index: 10001 !important;
}

.design-element-container img {
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  user-select: none;
  border: none !important;
  object-fit: contain;
}

/* Remove border from .design-pattern/.design-image */
.design-pattern, .design-image {
  border: none !important;
}

/* Entrance animations for design page */
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-60px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(60px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- HEADER BUTTONS: Override to match homepage header --- */
.user-btn, .design-btn {
  background: #fff !important;
  border: 2px solid #6a0dad !important;
  border-radius: 25px !important;
  padding: 8px 24px !important;
  font-size: 18px !important;
  font-weight: bold !important;
  color: #6a0dad !important;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
  outline: none;
  box-shadow: none;
  margin: 0 8px !important;
  letter-spacing: 0.2px;
}
.user-btn:hover, .design-btn:hover, .user-btn:focus {
  background: #f6f2ff !important;
  color: #4a1cb3 !important;
  border-color: #4a1cb3 !important;
}
.user-menu .user-btn {
  font-size: 18px !important;
  font-weight: bold !important;
  color: #6a0dad !important;
  border-radius: 25px !important;
  border: 2px solid #6a0dad !important;
  background: #fff !important;
  margin: 0 8px !important;
}
.user-menu .user-btn:after {
  content: '\25BC';
  font-size: 12px;
  margin-left: 8px;
  color: #6a0dad;
  vertical-align: middle;
}
.nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}
.nav ul li {
  display: flex;
  align-items: center;
}

/* Withdrawal status badge styles for admin dashboard */
.withdrawal-status {
  display: inline-block;
  padding: 4px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  min-width: 90px;
  text-align: center;
  white-space: nowrap;
  line-height: 1.5;
  margin: 0;
}
.withdrawal-status.completed {
  background: #43e97b;
  color: #fff;
}
.withdrawal-status.pending {
  background: #ffc107;
  color: #856404;
}
.withdrawal-status.failed {
  background: #e74c3c;
  color: #fff;
}
.withdrawal-status.cancelled {
  background: #bdbdbd;
  color: #fff;
}

/* Ensure order table action buttons are in a row and have consistent size */
.orders-table .order-actions {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
}

.orders-table .action-btn {
  min-width: 110px;
  height: 36px;
  font-size: 15px;
  padding: 0 16px;
  border-radius: 8px;
  font-weight: 600;
  margin: 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Standardize order table action buttons */
.orders-table .action-btn {
  background: #f3f4f6;
  color: #5B22D4;
  font-weight: 600;
  border: none;
  transition: background 0.2s, color 0.2s;
}
.orders-table .action-btn.approve {
  background: #5BFF6A;
  color: #222;
}
.orders-table .action-btn:hover,
.orders-table .action-btn:focus {
  background: #e0e7ff;
  color: #3b0ca3;
}





/* Disabled button styles */
.action-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
  background-color: #7c3aed;
}

.action-btn:disabled:hover {
  transform: none;
  background-color: #7c3aed;
}