/* Essential Custom Styles for YallaTake */

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #7B2A47 0%, #5a1f35 50%, #3d1424 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.whatsapp-button {
  z-index: 30 !important;
}

ul#category-dropdown {
    width: 300px;
    height: 450px !important;
}

.fa-search {
  margin-top: 5%;
  margin-inline-start: 2px;
}

/* Font Configuration */
h1,
h2,
h3,
h4,
p,
li,
div,
a {
  font-family: 'Almarai', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.form-group {
  margin-bottom: 20px;
}

.control-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 15px;
  color: #374151;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  font-size: 15px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
  background-color: #f9fafb;
}

.form-control:focus {
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
  outline: none;
  background-color: #fff;
}

select.form-control {
  appearance: none;
  background: url('data:image/svg+xml;charset=UTF-8,<svg fill="%237c3aed" height="16" viewBox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 14px center;
  background-size: 14px;
  padding-right: 40px;
}

/* General container wrapper */
#select-category-container {
  position: relative;
  max-width: 100%;
}

/* Make Select2 container a bit larger and cleaner */
.select2-container--default {
  font-size: 1rem;
  width: 100% !important;
}

/* Customize the dropdown */
.select2-dropdown {
  border-radius: 0.5rem;
  padding: 0.5rem 0;
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.15);
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

/* Customize scrollable inner list */
.select2-results>div {
  max-height: 400px;
  overflow-y: auto;
}

/* Style each result item */
.select2-results__option {
  padding: 0.5rem 1rem;
  transition: background 0.2s;
  background-color: white !important;
  color: #374151;
}

.select2-results__option:hover {
  background-color: #f3f4f6 !important;
  color: #7c3aed;
}

.select2-results__option--highlighted {
  background-color: #ede9fe !important;
  color: #7c3aed !important;
}

.select2-selection__id.badge {
  font-size: 0.75rem;
  padding: 0.3rem 0.5rem;
  background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
  border-radius: 20px;
  color: white;
  margin-inline-end: 4px;
  border: none;
}

/* Additional Select2 styling */
.select2-container--default .select2-selection--single {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  height: 42px;
  background-color: #f9fafb;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.select2-container--default.select2-container--focus .select2-selection--single {
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #374151;
  line-height: 40px;
  padding-left: 12px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 40px;
  right: 10px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: #7c3aed transparent transparent transparent;
}

.pay-element{
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem;
  border-radius: 20px;

  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}
.pay-element:hover{
  
  transform: translateY(-10px);
  
  box-shadow: 0 20px 40px rgba(123, 42, 71, 0.15);
}
