/* Shared base styles for brand buttons */
.buttonYellow,
.buttonOrange,
.buttonGreen {
  font-size: 0.875rem;
  text-decoration: none;
  white-space: nowrap;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  display: inline-block;
}

/* Yellow button: brandYellow filled, outline on hover */
.buttonYellow {
  background-color: #FFE605;  /* brandYellow */
  border-color: #FFE605;
  color: #50585B;
}
.buttonYellow:hover,
.buttonYellow:focus {
  background-color: rgba(255, 230, 5, 0.10); /* brandYellow/10 */
  border-color: #FFE605;
  color: #FFE605;
}

/* Orange button: brandOrange filled, light hover */
.buttonOrange {
  background-color: #FF7304; /* brandOrange */
  color: #FFFFFF;
  border-color: #FF7304;
}
.buttonOrange:hover,
.buttonOrange:focus {
  background-color: rgba(255, 115, 4, 0.10); /* brandOrange/10 */
  border-color: #FF7304;
  color: #FF7304;
}

/* Green button: brandGreen filled, outline on hover */
.buttonGreen {
  background-color: #66D1AA; /* brandGreen */
  color: #FFFFFF;
  border-color: #66D1AA;
}
.buttonGreen:hover,
.buttonGreen:focus {
  background-color: rgba(102, 209, 170, 0.20);
  border-color: #66D1AA !important;
  color: #66D1AA !important;
}

/* Utility to force white hover regardless of button variant */
.hoverWhite:hover,
.hoverWhite:focus {
  background-color: #FFFFFF !important;
}

/* Brand-specific white hover helpers (keep brand color for text/border) */
.buttonYellow.hoverWhite:hover,
.buttonYellow.hoverWhite:focus {
  background-color: #FFFFFF !important;
  color: #FFE605 !important;
  border-color: #FFE605 !important;
}
.buttonOrange.hoverWhite:hover,
.buttonOrange.hoverWhite:focus {
  background-color: #FFFFFF !important;
  color: #FF7304 !important;
  border-color: #FF7304 !important;
}

/* Card Styles */
.card {
  background-color: #ffffff;
  border: 2px solid #ECF2F3; /* border-2 border-brandFrame */
  border-radius: 0.5rem; /* rounded-lg */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1),
              0 1px 2px rgba(0, 0, 0, 0.06);
  padding: 1.5rem; /* p-6 */
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Override RTL text-align for cards to keep center alignment */
html[dir="rtl"] .card {
  text-align: center !important;
}

.card:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
              0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.card:active {
  transform: scale(0.95);
}

/* Card Container Styles - same as .card but without text-align: center */
.cardContainer {
  background-color: #ffffff;
  border: 2px solid #ECF2F3; /* border-2 border-brandFrame */
  border-radius: 0.5rem; /* rounded-lg */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1),
              0 1px 2px rgba(0, 0, 0, 0.06);
  padding: 1.5rem; /* p-6 */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cardContainer:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
              0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.cardContainer:active {
  transform: scale(0.95);
}

/* Input Field Styles */
.input-field {
  width: 100%;
  padding: 0.5rem 0.75rem; /* py-2 px-3 */
  border: 2px solid #ECF2F3; /* border-2 border-brandFrame */
  border-radius: 0.5rem; /* rounded-lg */
  text-align: right;
  transition: all 0.2s ease;
}

.input-field:focus {
  outline: none;
  border-color: transparent;
  box-shadow: 0 0 0 2px #1199F4; /* focus:ring-2 focus:ring-brand */
}

.input-field::placeholder {
  color: #9ca3af; /* gray-400 */
  opacity: 1;
}

/* Textarea specific styles */
textarea.input-field {
  resize: none;
}

/* Select field styles */
select.input-field {
  cursor: pointer;
}

select.input-field:disabled {
  background-color: #f3f4f6; /* bg-gray-100 */
  cursor: not-allowed;
  color: #50585B; /* text-brandTextDark */
}

/* Brand Button Styles */
.btnBrand {
  display: inline-block;
  background-color: #1199F4; /* bg-brand */
  color: #FFFFFF; /* text-brandWhite */
  font-weight: 600; /* font-semibold */
  font-size: 1rem; /* text-lg */
  padding: 0.5rem 0.5rem; /* py-3 px-6 */
  border: 2px solid transparent; /* border to match btnBrand2 size */
  border-radius: 0.5rem; /* rounded-lg */
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
              0 4px 6px -4px rgba(0, 0, 0, 0.1); /* shadow-lg */
  transition: all 0.3s ease; /* transition-all duration-300 */
  transform: scale(1);
  text-decoration: none;
}

.btnBrand:hover {
  transform: scale(1.1); /* hover:scale-110 */
  background-color: #70C7FE !important; /* hover:bg-brandAlt */
}

.btnBrand:active {
  transform: scale(1.05);
}


/* Brand Button Outline Styles */
.btnBrand2 {
  display: inline-block;
  background-color: #FFFFFF; /* white background */
  color: #1199F4; /* text-brand */
  font-weight: 600; /* font-semibold */
  font-size: 1rem; /* text-lg */
  padding: 0.5rem 0.5rem; /* py-3 px-6 */
  border: 2px solid #1199F4; /* border-brand */
  border-radius: 0.5rem; /* rounded-lg */
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
              0 4px 6px -4px rgba(0, 0, 0, 0.1); /* shadow-lg */
  transition: all 0.3s ease; /* transition-all duration-300 */
  transform: scale(1);
  text-decoration: none;
}

.btnBrand2:hover {
  transform: scale(1.1); /* hover:scale-110 */
  background-color: rgba(17, 153, 244, 0.1); /* خلفية فاتحة جداً بلون البراند */
}

.btnBrand2:active {
  transform: scale(1.05);
}


