:root {
  --main-color: #faaf3d;
  --secondary-color: #224284;
}

select,
select option {
  color: #000 !important;
}

.image-container {
  position: relative;
  width: 100%;
  height: 200px;
  margin-bottom: 25px;
}

.image-container img {
  width: 100%;
  height: 100%;
  display: block;
}

.image-container .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--secondary-color);
  opacity: 0.8;
}

.col-print-3,
.col-print-9,
.col-print-12 {
  /* Optional: define your own print styles if needed */
}
.bordered {
  border: 1px solid #ccc;
}
.flag {
  display: inline-block;
  width: 20px;
  height: 14px;
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 5px;
  vertical-align: middle;
}
.sc-ficha-socio {
  /* your existing custom class for card styling (if any) */
}

@media (max-width: 576px) {
  /* Media query for xs screens */
  .br-xs-only {
    display: block;
  }
  .br-default {
    display: none;
  }
}
@media (min-width: 577px) {
  /* Media query for screens larger than xs */
  .br-xs-only {
    display: none;
  }
  .br-default {
    display: block;
  }
}

.button-style {
  background-color: var(--main-color);
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-align: center;
  display: inline-block;
  text-decoration: none;
  transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

/* Customize btn-outline-primary to use --main-color */
.btn-outline-primary {
  color: var(--main-color); /* Text color */
  border-color: var(--main-color); /* Border color */
}

.btn-outline-primary:hover {
  background-color: var(--main-color); /* Fill background on hover */
  color: white; /* Text color on hover */
  border-color: var(--main-color); /* Keep border color on hover */
}

.btn-outline-primary:focus,
.btn-outline-primary:active {
  background-color: var(--main-color); /* Active state */
  color: white; /* Active state text color */
  border-color: var(--main-color); /* Active state border */
}

.btn-outline-primary.disabled,
.btn-outline-primary:disabled {
  color: var(--main-color); /* Disabled color */
  background-color: transparent; /* No background for disabled */
  border-color: var(--main-color); /* Keep border color */
  opacity: 0.65; /* Lower opacity for disabled */
}

.pagination .page-item .page-link {
  background-color: transparent; /* Transparent background */
  border: none; /* No border */
  color: var(--secondary-color); /* Default icon color */
  padding: 0.5rem 1rem; /* Spacing for the button */
  outline: thin solid var(--secondary-color); /* Thin outline */
  border-radius: 5px; /* Rounded corners */
  transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition */
  display: flex; /* Align icons properly */
  justify-content: center;
  align-items: center;
}

.pagination .page-item.active .page-link {
  background-color: rgba(255, 255, 255, 0.1); /* 10% white background for active */
  color: white; /* White color for active state */
}

.pagination .page-item .page-link:hover {
  background-color: rgba(255, 255, 255, 0.1); /* 10% white on hover */
  color: white; /* Change color to white on hover */
}

.pagination .page-item .fa {
  color: var(--secondary-color); /* Icon color */
  transition: color 0.3s ease;
}

.pagination .page-item.active .fa,
.pagination .page-item .page-link:hover .fa {
  color: white; /* White color for active and hover */
}

.pagination .page-item.disabled .page-link {
  color: var(--secondary-color); /* Disabled state color */
  opacity: 0.5;
  pointer-events: none; /* Prevent interaction with disabled items */
}

.pagination .page-item.disabled .fa {
  opacity: 0.5; /* Disabled icon opacity */
}

/* Global style for all input fields */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="tel"],
textarea,
select {
  background-color: transparent !important; /* No background */
  border: none !important; /* Remove all borders */
  border-bottom: 2px solid darkgray !important; /* Bottom border (underline) */
  color: var(--main-color) !important; /* Light grey text color */
  outline: none; /* Remove default focus outline */
  width: 100%; /* Full width */
  padding: 10px 5px; /* Padding for some spacing */
  font-size: 16px; /* Adjust font size */
  transition: border-color 0.3s ease, color 0.3s ease; /* Smooth transition */
}

/* Focus state - change the underline to the main color and keep the same visual */
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
  border-bottom-color: var(--main-color) !important; /* Change the underline to main color on focus */
  color: var(--main-color) !important; /* Keep light grey text color */
}

/* When text is entered, keep the same visual but the bottom border colored */
input:not(:placeholder-shown):not(:focus),
textarea:not(:placeholder-shown):not(:focus),
select:not(:focus) {
  background-color: transparent !important; /* Ensure no background color */
  border-bottom: 2px solid var(--main-color) !important; /* Bottom border remains colored */
  color: darkgray !important; /* Keep light grey text color */
}

/* Optional: Customize placeholder text color */
::placeholder {
  color: darkgray !important; /* Placeholder text color */
  opacity: 1; /* Ensure it's not faded */
}

.bg1 {
  background-color: var(--main-color) !important;
}

.bg2 {
  background-color: var(--secondary-color) !important;
}

.bg-3 {
  background-color: var(--tertiary-color) !important;
}

.bg-4 {
  background-color: var(--quaternary-color) !important;
}

.button-style:hover {
  background-color: var(--tertiary-color);
  color: white;
}

.btn-services {
  background-color: var(--main-color);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

.head-spacer {
  height: 110px;
  background-color: var(--main-color);
}

.full-height-background {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* This creates the parallax effect */
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.full-height-background-footer {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 90vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("../images/main-bg.webp");
}
.app-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* This creates the parallax effect */
  height: 100vh;
  width: 100%;
  background-image: url("../images/app-bg.webp");
}

.form-container {
  padding: 20px;
  border-radius: 8px;
  box-sizing: border-box;
  max-width: 100%;
  max-height: 100%;
  overflow: auto;
}

.form-container h2 {
  color: white;
  text-align: center;
  margin-bottom: 20px;
}

.form-container .form-control {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
  border: none;
}

.form-container .btn-submit {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  background-color: var(--main-color);
  color: white;
  border: none;
  cursor: pointer;
}

.form-container .btn-submit:hover {
  background-color: var(--secondary-color);
}

/* Style for the radio buttons */
input[type="radio"] {
  appearance: none; /* Remove default radio button styling */
  opacity: 0; /* Make the radio input invisible but functional */
  position: relative;
  cursor: pointer;
  width: 20px; /* Width of the clickable area */
  height: 20px; /* Height of the clickable area */
  margin-right: 25px; /* Space between radio and label */
}

input[type="radio"] + label {
  position: relative;
  padding-left: 30px; /* Space for the custom radio button */
  cursor: pointer;
  vertical-align: middle; /* Align label text with the custom radio button */
}

input[type="radio"] + label:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-color: transparent; /* Transparent background */
  border: 2px solid #ccc; /* Light grey border */
  border-radius: 50%; /* Make it circular */
  transition: border-color 0.3s ease, background-color 0.3s ease; /* Smooth transition */
}

/* Style when the radio button is selected */
input[type="radio"]:checked + label:before {
  background-color: var(--main-color); /* Fill background with main color when selected */
  border-color: var(--main-color); /* Change border color when selected */
}

/* Label style to align with radio button */
.mb-3 label {
  font-size: 18px;
  font-weight: normal;
  color: darkgray; /* Adjust color based on your theme */
  display: inline-block;
  vertical-align: middle; /* Ensure the label is vertically aligned with custom radio button */
}

/* Hover effect for custom radio buttons */
input[type="radio"] + label:before:hover {
  border-color: var(--main-color); /* Change border color on hover */
}

/* Adjust spacing between questions */
.mb-3 div {
  margin-bottom: 15px; /* Spacing between each radio button and label group */
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--main-color);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

/* Optional: adds shadows to the slider */
.slider:active:before {
  width: 30px;
}

.custom-file-input {
  opacity: 0;
  position: absolute;
  z-index: -1;
}

/* Style the custom file input label */
.custom-file-label {
  display: inline-block;
  background-color: transparent;
  color: var(--main-color);
  /* Define your main color here */
  padding: 10px;
  cursor: pointer;
  font-size: 16px;
  border: 2px dashed var(--main-color);
  border-radius: 5px;
  text-align: center;
}

/* Icon styling */
.custom-file-label i.fa-download {
  margin-right: 5px;
}

/* Preview styling */
#photosPreview img {
  width: 30%;
  margin: 5px;
}

/* Dropdown Menu Styling */
select.form-select {
  background-color: var(--secondary-color);
  color: #fff;
  border: 1px solid var(--main-color);
  padding: 12px 15px;
  font-size: 18px; /* Slightly larger font for readability */
  border-radius: 4px;
  appearance: none;
  cursor: pointer;
  line-height: 2.5; /* Increased line height for extra spacing */
}

select.form-select option {
  background-color: var(--tertiary-color);
  color: #fff;
  font-size: 18px; /* Match dropdown font size */
  line-height: 2.5 !important; /* Simulate extra spacing */
}

/* Optional Scrollbar Styling for Webkit Browsers */
select.form-select::-webkit-scrollbar {
  width: 12px;
}

select.form-select::-webkit-scrollbar-track {
  background: var(--secondary-color);
}

select.form-select::-webkit-scrollbar-thumb {
  background-color: var(--main-color);
  border-radius: 6px;
  border: 3px solid var(--tertiary-color);
}

select.form-select::-webkit-scrollbar-thumb:hover {
  background-color: #e6a923;
}

.ct-price-input-container {
  display: flex !important;
  align-items: center !important;
  font-size: 26px !important;
  min-width: 200px !important;
}

.ct-price-input {
  font-size: 46px !important;
  border: none !important;
  outline: none !important; /* Remove outline on focus */
  color: var(--main-color) !important;
  max-width: 200px !important;
  text-align: right !important;
  padding-right: 5px !important;
  background-color: transparent !important; /* Ensure transparent background */
  -moz-appearance: textfield !important; /* Hides arrows in Firefox */
}

/* Specific style for readonly state to ensure no borders */
.ct-price-input[readonly] {
  font-size: 30px !important;
  border: none !important;
  outline: none !important;
  color: var(--main-color) !important;
  background-color: transparent !important;
  max-width: 150px !important;
  text-align: right !important;
  padding-right: 5px !important;
  margin-bottom: 20px !important;
  -moz-appearance: textfield !important;
}

.filterDiv {
  display: none;
}

.show {
  display: block;
}

/* Default button style */
.btn-motive {
  background-color: transparent;
  color: #000;
  border: 1px solid #000; /* Adjust this if you want a border */
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Hover effect */
.btn-motive:hover {
  background-color: var(--secondary-color);
  color: #fff; /* Adjust the text color as needed */
}

/* Active/Selected button */
.btn-motive.active {
  background-color: var(--secondary-color);
  color: #fff;
}

.pagination .btn {
  margin: 5px;
  padding: 8px 12px;
  color: var(--secondary-color);
}

.pagination .btn i {
  font-size: 16px;
}

.pagination .btn-motive.active {
  font-weight: bold;
  background-color: var(--secondary-color) !important;
  color: white;
}

.shadow-box {
  -moz-box-shadow: 0 0 5px 5px #e9e9e9;
  -webkit-box-shadow: 0 0 5px 5px#e9e9e9;
  box-shadow: 0 0 5px 5px #e9e9e9;
  border-radius: 8px;
  padding: 25px;
  background-color: white !important;
}

.description-container {
  display: none;
  margin-top: 10px;
  padding: 10px;
  background: var(--main-color);
  color: white;
  border: 1px solid #ddd;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
}
.toggle-description {
  color: var(--main-color);
  cursor: pointer;
  transition: background 0.3s;
}
.toggle-description:hover {
  color: #333;
}

.img-thumbnail {
  width: 320px !important; /* Fixed width */
  height: 260px !important; /* Fixed height */
  display: flex !important; /* Centers the image */
  justify-content: center !important; /* Centers horizontally */
  align-items: center !important; /* Centers vertically */
  overflow: hidden !important; /* Ensures no overflow beyond the square */
  position: relative !important; /* Ensures positioning of child elements */
  background: #f9f9f9 !important; /* Optional: Add a background color for aesthetics */
}

.img-thumbnail img {
  width: 100% !important; /* Fill the container width */
  height: 100% !important; /* Fill the container height */
  object-fit: cover !important; /* Ensures no distortion, crops excess */
  object-position: center !important; /* Focus the center of the image */
  display: block !important; /* Prevents inline-block spacing issues */
}
