/**
 * DeMV Platform - Option Buttons CSS
 * Styling for the booking option buttons
 */

/* Hidden Checkbox */
.hidden-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* Checkbox Group */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

/* Option Button */
.option-button {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  background-color: rgba(18, 18, 24, 0.6);
  border: 1px solid rgba(0, 255, 204, 0.3);
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  transition: all 0.25s ease;
  width: 100%;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.option-button:hover {
  background-color: rgba(0, 255, 204, 0.1);
  border-color: rgba(0, 255, 204, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Selected state */
.option-button.selected {
  background-color: rgba(0, 255, 204, 0.15);
  border-color: rgba(0, 255, 204, 0.8);
  box-shadow: 0 0 12px rgba(0, 255, 204, 0.3), inset 0 0 8px rgba(0, 255, 204, 0.1);
  transform: translateY(-2px);
}

/* Option content */
.option-content {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
  font-weight: 500;
}

/* Option status indicator */
.option-status {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(0, 255, 204, 0.5);
  margin-right: 12px;
  position: relative;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.option-button.selected .option-status {
  border-color: rgba(0, 255, 204, 0.9);
  box-shadow: 0 0 8px rgba(0, 255, 204, 0.5);
}

.option-button.selected .option-status::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: #00ffcc;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse-option 1.5s infinite;
}

@keyframes pulse-option {
  0% { box-shadow: 0 0 0 0 rgba(0, 255, 204, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(0, 255, 204, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 255, 204, 0); }
}

/* Option price */
.option-price {
  color: rgba(0, 255, 204, 0.8);
  font-size: 0.9em;
  margin-left: 8px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.option-button.selected .option-price {
  color: rgba(0, 255, 204, 1);
  text-shadow: 0 0 8px rgba(0, 255, 204, 0.5);
}

/* Option button after effect */
.option-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 255, 204, 0.1) 50%,
    transparent 100%
  );
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.option-button:hover::after {
  transform: translateX(100%);
}

.option-button.selected::after {
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 255, 204, 0.2) 50%,
    transparent 100%
  );
}

/* Responsive styles */
@media (max-width: 768px) {
  .option-button {
    padding: 12px 14px;
  }
  
  .option-status {
    width: 18px;
    height: 18px;
    margin-right: 10px;
  }
  
  .option-button.selected .option-status::after {
    width: 10px;
    height: 10px;
  }
}
