/* ========================================
   FIDIM BUTTONS STYLES
   All button-related styles for the Fidim configurator
   ======================================== */

/* Base fidim-options button styles */
.fidim-options button {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  background: #006278;
  color: white;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fidim-options button:hover {
  background: #008EAB;
}

/* Selected state voor knoppen */
.fidim-options button.selected {
  background: #008EAB;
  box-shadow: 0 2px 8px rgba(0, 142, 171, 0.3);
}

/* Disabled state voor knoppen */
.fidim-options button:disabled,
.fidim-options button.disabled {
  background: #E5E5E5;
  color: #999;
  cursor: not-allowed;
  opacity: 1;
  box-shadow: none;
}

.fidim-options button:disabled:hover,
.fidim-options button.disabled:hover {
  background: #E5E5E5;
}

/* Disabled knoppen in wizard - responsive variant */
.fidim-options button:disabled,
.fidim-options button.disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* Quantity control buttons */
.quantity-btn {
  background: #f8f9fa;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 600;
  color: #495057;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  font-family: 'Outfit', sans-serif;
  margin-top: 5px; /* Kleine offset om uit te lijnen met input field */
}

.quantity-btn:hover {
  background: #e9ecef;
  border-color: #adb5bd;
  transform: translateY(-1px);
}

.quantity-btn:active {
  transform: translateY(0);
  background: #dee2e6;
}

.quantity-btn:focus,
.quantity-btn:focus-visible,
.quantity-btn:active {
  outline: none !important;
  box-shadow: none !important;
  background: #f8f9fa !important;
  border-color: #dee2e6 !important;
  color: #495057 !important;
}

.quantity-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* WebKit spinner button hiding (number inputs) */
.wizard-step .formField input[type="number"]::-webkit-inner-spin-button, 
.wizard-step .formField input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Animated Bin Button for File Upload Removal */
.bin-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  border-radius: 15px;
  background-color: rgb(255, 95, 95);
  cursor: pointer;
  border: 3px solid rgb(255, 201, 201);
  transition-duration: 0.3s;
}

.bin-bottom {
  width: 15px;
}

.bin-top {
  width: 17px;
  transform-origin: right;
  transition-duration: 0.3s;
}

.bin-button:hover .bin-top {
  transform: rotate(45deg);
}

.bin-button:hover {
  background-color: rgb(255, 0, 0);
}

.bin-button:active {
  transform: scale(0.9);
}

/* Upload info container styling */
.fidim-upload-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  border: 2px solid #ddd;
}

.fidim-uploaded-filename {
  font-weight: 500;
  color: #333;
  flex: 1;
  margin-right: 10px;
  word-break: break-word;
}
