/* City Church Georgetown - MeetTheNeed Styling Override */
/* Applies CCG branding to MeetTheNeed.org volunteer opportunities page */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

#search-outer-container .well {
  display: none !important;
}

#ogBtn {
  display: none;
}

:root {
  --ccg-primary: #d29259;
  --ccg-primary-dark: #b87e4a;
  --ccg-accent: #1f72c4;
  --ccg-accent-hover: #1556a0;
  --ccg-text-primary: #333333;
  --ccg-text-secondary: #666666;
  --ccg-bg-light: #f8f9fa;
  --ccg-bg-white: #ffffff;
  --ccg-border: #e0e0e0;
  --ccg-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --ccg-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --ccg-shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* ===== GLOBAL STYLES ===== */
* {
  font-family: 'Oswald', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif !important;
  font-weight: 300;
}

/* Keep Font Awesome and Flaticon using their own fonts */
i.fa,
[class^="fa-"],
[class*=" fa-"],
.flaticon,
[class^="flaticon-"],
[class*=" flaticon-"] {
  font-family: FontAwesome, "Font Awesome 5 Free", "Flaticons" !important;
}

body.template-reset {
  background-color: var(--ccg-bg-light) !important;
  color: var(--ccg-text-primary) !important;
  font-family: 'Oswald', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif !important;
}

#outer-wrapper {
  background-color: var(--ccg-bg-white);
  font-family: 'Oswald', sans-serif !important;
}

#inner-wrapper {
  background-color: var(--ccg-bg-white) !important;
  border: none !important;
  max-width: 1200px !important;
  font-family: 'Oswald', sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Bebas Neue', sans-serif !important;
  color: #2d2f2b;
}

p,
a,
div,
li {
  color: #2d2f2b;
  font-family: 'Oswald', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif !important;
  letter-spacing: normal !important;
}

#quantity-available-summary-container #quantity-available-subtitle {
    color: #2d2f2b;
}

#details-resources-content .section-label {
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 20px;
}

#details-resources-content .resmat-inner-content{
  font-size: 17px;
}

.environment-untemplated .light-label {
    color: #2d2f2b;
    letter-spacing: normal;
    font-size: 20px;
}

#outer-details-container > .checkout-bar-wrapper:first-of-type {
  display: none;
}

#alert-icon{
  display: none;
}

#outer-details-container h1#need-title,
#outer-details-container h1#need-title span {
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 34px;
}

#details-description-summary {
  font-size: 18px;
  padding-top: 15px;
}

/* ===== ICON NORMALIZATION ===== */
#outer-wrapper i.fa,
#outer-wrapper .flaticon,
#outer-wrapper [class^="fa-"],
#outer-wrapper [class*=" fa-"],
#outer-wrapper [class^="flaticon-"],
#outer-wrapper [class*=" flaticon-"] {
  position: relative;
  background-color: var(--ccg-primary);
  color: white !important;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* Icon in button context */
button i.fa,
button .flaticon,
.btn i.fa,
.btn .flaticon {
  width: 1.25rem;
  height: 1.25rem;
  font-size: 0.75rem;
  margin: 0 !important;
}

/* Icon in list context */
li i.fa,
li .flaticon {
  width: 1.5rem;
  height: 1.5rem;
  font-size: 0.8rem;
  margin-right: 0.5rem !important;
}

/* Icon with text - don't apply circle styling */
.with-text i.fa,
.with-text .flaticon,
span i.fa,
span .flaticon {
  background-color: transparent !important;
  width: auto;
  height: auto;
  border-radius: 0;
  display: inline;
  font-size: inherit;
}

/* ===== ICONS IN TAB CONTENT - ENLARGED ===== */
.tab-content i.fa,
.tab-content .flaticon,
.tab-content [class^="fa-"],
.tab-content [class*=" fa-"],
.tab-content [class^="flaticon-"],
.tab-content [class*=" flaticon-"] {
  width: 4rem !important;
  height: 4rem !important;
  font-size: 1.75rem !important;
  border-radius: 50% !important;
  background-color: var(--ccg-primary) !important;
  color: white !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0;
}

/* ===== HEADER STYLES ===== */
#header {
  color: white;
  padding: 2rem !important;
  height: auto !important;
  margin-top: 0 !important;
}

#header h1 {
  margin: 0 !important;
  line-height: 1.2 !important;
}

#header h1 a {
  display: inline-block;
  text-decoration: none !important;
}

#header img {
  max-height: 50px !important;
  margin-right: 15px !important;
  vertical-align: middle;
}

/* ===== MENU/NAVIGATION ===== */
#menu {
  background-color: white !important;
  color: var(--ccg-text-primary) !important;
  height: auto !important;
  padding: 0.75rem 0 !important;
  margin: 0 !important;
  border-bottom: 2px solid var(--ccg-primary);
}

#menu ul {
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  align-items: center;
}

#menu ul li {
  list-style: none !important;
  padding: 0.5rem 0 !important;
  margin: 0 1.5rem !important;
  height: auto !important;
}

#menu ul li a {
  color: var(--ccg-text-primary) !important;
  font-family: 'Oswald', sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: normal !important;
  text-decoration: none !important;
  transition: color 0.3s ease;
}

#menu ul li a:hover {
  color: var(--ccg-primary) !important;
  text-decoration: underline !important;
}

/* ===== AUTHENTICATION BAR ===== */
#ct-nav {
  padding: 1rem !important;
  text-align: right;
}

#ct-nav a {
  color: var(--ccg-primary) !important;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

#ct-nav a:hover {
  color: var(--ccg-accent) !important;
}

.recurring-marker-responsive, .responsive-marker {
  border: none;
}

.item-select-button>span {
  display: none;
}

.account-authentication-status-bar {
  padding: 1rem !important;
}

.authenticated-greeting {
  color: var(--ccg-text-primary) !important;
  font-weight: 600;
}

.btn-group .btn {
  background-color: var(--ccg-bg-white) !important;
  border: 1px solid var(--ccg-border) !important;
  color: var(--ccg-text-primary) !important;
  transition: all 0.3s ease;
}

.btn-group .btn:hover {
  background-color: var(--ccg-primary) !important;
  color: white !important;
  border-color: var(--ccg-primary) !important;
}

.dropdown-menu {
  border: 1px solid var(--ccg-border) !important;
  box-shadow: var(--ccg-shadow-md) !important;
}

.dropdown-menu a {
  color: var(--ccg-text-primary) !important;
}

.dropdown-menu a:hover {
  background-color: var(--ccg-primary) !important;
  color: white !important;
}

/* ===== PROGRESS WIZARD ===== */
.nav-wizard {
  margin-bottom: 2rem !important;
  padding: 1rem !important;
}

.nav-wizard>li.active>a,
.nav-wizard>li.active>a:hover,
.nav-wizard>li.active>a:focus {
  background-color: var(--ccg-primary) !important;
  color: white !important;
  border-color: var(--ccg-primary) !important;
}

.nav-wizard>li.active>a:after {
  border-left-color: var(--ccg-primary) !important;
}

.nav-wizard>li>a {
  color: var(--ccg-text-primary) !important;
  border-color: var(--ccg-border) !important;
  transition: all 0.3s ease;
}

.nav-wizard>li>a:hover {
  background-color: var(--ccg-bg-light);
  color: var(--ccg-primary);
}

/* ===== SEARCH/FILTER PANEL ===== */

#search-outer-container > div.col-md-4.col-sm-4 > div.filter-panel > div.basic-options-hide-bar > button {
  display: none;
}
.location-filter-group {
  padding: 0;
  border-bottom: none;
  margin: 0;
}

.filter-title {
  color: var(--ccg-primary) !important;
  font-family: 'Oswald', sans-serif !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  margin-bottom: 1rem !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-title i {
  color: var(--ccg-accent);
  font-size: 1.2rem;
}

.filter-summary {
  color: var(--ccg-text-secondary) !important;
  font-weight: 600;
  padding: 0.5rem 0;
}

.filter-display {
  background-color: var(--ccg-bg-white);
  padding: 1rem;
  border-radius: 4px;
  border: 1px solid var(--ccg-border);
}

/* ===== FORM CONTROLS ===== */
.form-control {
  border: 1px solid var(--ccg-border) !important;
  border-radius: 4px !important;
  color: var(--ccg-text-primary) !important;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--ccg-primary) !important;
  box-shadow: 0 0 0 3px rgba(31, 114, 196, 0.1) !important;
}

input.form-control,
select.form-control,
textarea.form-control {
  padding: 0.75rem !important;
}

.input-group .form-control {
  border-radius: 4px 0 0 4px !important;
}

/* Date Picker */
.hasDatepicker {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="3" y="4" width="18" height="18" rx="2"/><path d="M16 2v4M8 2v4M3 10h18"/></svg>') !important;
  background-repeat: no-repeat !important;
  background-position: right 0.75rem center !important;
  background-size: 1.2rem !important;
  padding-right: 2.5rem !important;
}

/* ===== BUTTONS ===== */
.btn {
  border-radius: 4px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  border: none !important;
}

.btn-primary,
.btn-primary:focus {
  background-color: var(--ccg-primary) !important;
  color: white !important;
  border-color: var(--ccg-primary) !important;
  padding: 0 !important;
}

.btn-primary:hover {
  background-color: var(--ccg-primary-dark) !important;
  border-color: var(--ccg-primary-dark) !important;
  transform: scale(1.02);
}

.checkout-bar-wrapper .btn-primary, .quantity-selector .btn-primary {
  padding: 8px 40px !important;
}

.btn-secondary {
  background-color: var(--ccg-accent) !important;
  color: white !important;
  border-color: var(--ccg-accent) !important;
}

.btn-secondary:hover {
  background-color: var(--ccg-accent-hover) !important;
  border-color: var(--ccg-accent-hover) !important;
  transform: scale(1.02);
}

.btn-group .btn {
  margin-right: 0.5rem !important;
}

/* ===== OPPORTUNITY CARDS - NEW DESIGN ===== */
.opportunity-card-new,
.opportunity-card {
  position: relative;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.5rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
}

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

/* Urgent Badge */
.urgent-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background-color: #fee2e2;
  color: #991b1b;
  padding: 0.25rem 0.625rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 10;
}

/* Recurring Badge */
.recurring-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background-color: #dbeafe;
  color: #0c4a6e;
  padding: 0.25rem 0.625rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 10;
}

/* Icon Badge */
.icon-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 3rem;
  height: 3rem;
  background-color: var(--ccg-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  z-index: 10;
  flex-shrink: 0;
}

.icon-badge svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Card Content */
.card-content {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  margin: 0 0 0.75rem 0;
}

.card-description {
  font-size: 0.875rem;
  color: #374151;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  overflow: hidden;
  margin: 0 0 1.5rem 0;
}

/* Card Footer - New Design */
.card-footer-new {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
  margin-top: auto;
  gap: 1rem;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-info span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #6b7280;
}

.footer-info .volunteer-count {
  color: var(--ccg-primary);
  font-weight: 500;
}

.footer-info .schedule,
.footer-info .location {
  color: #6b7280;
}

.footer-info svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* Arrow Button */
.arrow-button {
  color: var(--ccg-primary);
  font-size: 1.5rem;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s ease;
  line-height: 1;
  padding: 0.5rem;
  cursor: pointer;
  flex-shrink: 0;
}

.arrow-button:hover {
  opacity: 0.8;
}

/* Original Card Structure - Keep for compatibility */
.opportunity-header {
  padding: 1.5rem !important;
  border-bottom: 2px solid var(--ccg-primary) !important;
  background: linear-gradient(135deg, rgba(210, 146, 89, 0.05) 0%, rgba(31, 114, 196, 0.05) 100%);
}

.opportunity-header h3 {
  color: var(--ccg-text-primary) !important;
  font-family: 'Oswald', sans-serif !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  margin: 0 !important;
}

.opportunity-type {
  background-color: var(--ccg-primary) !important;
  color: white !important;
  padding: 0.375rem 0.875rem !important;
  border-radius: 20px !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  display: inline-block;
}

.opportunity-body {
  padding: 1.5rem !important;
  flex: 1;
  color: var(--ccg-text-secondary) !important;
}

.opportunity-description {
  color: var(--ccg-text-secondary) !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  margin-bottom: 1rem !important;
}

.opportunity-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.detail-item {
  display: flex;
  gap: 0.75rem;
  font-size: 0.9rem;
  align-items: flex-start;
}

.detail-label {
  color: var(--ccg-primary) !important;
  font-weight: 700 !important;
  min-width: 100px;
}

.detail-value {
  color: var(--ccg-text-secondary);
  flex: 1;
}

.opportunity-footer {
  padding: 1.5rem !important;
  border-top: 1px solid var(--ccg-border) !important;
  background-color: var(--ccg-bg-light) !important;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ===== SEARCH RESULTS GRID ===== */
.opportunities-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
  gap: 2rem !important;
  padding: 2rem !important;
  background: transparent;
}

@media (max-width: 768px) {
  .opportunities-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    padding: 1rem !important;
  }
}

/* ===== RESULT ROWS - MATCH CARD DESIGN ===== */
.result.row {
  position: relative;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.5rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  margin-bottom: 1.5rem !important;
  margin-left: 0;
  margin-right: 0;
}

.nav-tabs {
  display: none;
}

.result.row:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transform: translateY(-4px);
}

.result.row h3,
.result.row h4 {
  font-family: 'Bebas Neue', sans-serif !important;
  font-weight: 700 !important;
  color: #111827 !important;
}

.result.row p {
  color: #374151 !important;
  line-height: 1.6 !important;
}

.list-header {
  padding: 2rem !important;
  border-left: 4px solid var(--ccg-accent);
  background-color: var(--ccg-bg-light);
}

.list-header h2 {
  font-family: 'Oswald', sans-serif !important;
  font-size: 2rem !important;
  font-weight: 700 !important;
  color: var(--ccg-text-primary) !important;
  margin: 0 0 0.5rem 0 !important;
}

.list-header .subtitle {
  color: var(--ccg-text-secondary) !important;
  font-size: 1rem !important;
  margin: 0 !important;
}

/* ===== LOADING STATE ===== */
.loading-state {
  padding: 4rem 2rem !important;
  text-align: center;
  color: var(--ccg-text-secondary) !important;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--ccg-border);
  border-top-color: var(--ccg-primary);
  border-radius: 50%;
  animation: ccg-spin 1s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes ccg-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ===== ERROR STATE ===== */
.error-state {
  padding: 2rem !important;
  text-align: center;
  background-color: #fee2e2 !important;
  border-left: 4px solid #dc2626 !important;
  border-radius: 4px !important;
}

.error-state p {
  color: #991b1b !important;
  margin-bottom: 1rem !important;
}

.error-state button {
  background-color: #dc2626 !important;
  color: white !important;
  border: none !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  font-weight: 600 !important;
  transition: background-color 0.3s;
}

.error-state button:hover {
  background-color: #b91c1c !important;
}

/* ===== EMPTY STATE ===== */
.empty-state {
  padding: 3rem 2rem !important;
  text-align: center;
  background-color: var(--ccg-bg-light) !important;
  color: var(--ccg-text-secondary) !important;
  border-radius: 4px !important;
}

/* ===== CHOSEN SELECT DROPDOWN & SELECT BUTTONS ===== */
.chosen-container {
  border-radius: 0.5rem !important;
  border: 1px solid var(--ccg-border) !important;
}

.chosen-container-single .chosen-single {
  background-color: var(--ccg-bg-white) !important;
  border: 1px solid var(--ccg-primary) !important;
  color: var(--ccg-primary) !important;
  height: auto !important;
  padding: 0.75rem 1rem !important;
  font-family: 'Oswald', sans-serif !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
}

.chosen-container-single .chosen-single:hover {
  background-color: var(--ccg-primary) !important;
  color: white !important;
  transform: scale(1.02) !important;
}

.chosen-container-single .chosen-single:focus {
  border-color: var(--ccg-primary) !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(210, 146, 89, 0.1) !important;
}

.chosen-drop {
  border: 1px solid var(--ccg-border) !important;
  border-radius: 0 0 0.5rem 0.5rem !important;
  background-color: var(--ccg-bg-white) !important;
}

.chosen-results li {
  padding: 0.75rem 1rem !important;
  font-family: 'Oswald', sans-serif !important;
}

.chosen-results li.highlighted {
  background-color: var(--ccg-primary) !important;
  color: white !important;
}

.chosen-results li.selected {
  background-color: var(--ccg-bg-light) !important;
  color: var(--ccg-primary) !important;
  font-weight: 600;
}

/* ===== SHARE BUTTONS ===== */
.a2a_floating_style {
  right: 20px !important;
}

.a2a_kit a {
  transition: all 0.3s ease;
}

/* ===== TABLE STYLES ===== */
table {
  width: 100%;
  border-collapse: collapse;
}

table tr td {
  border-bottom: 1px solid var(--ccg-border) !important;
  padding: 1rem !important;
  color: var(--ccg-text-secondary);
}

table tr:hover {
  background-color: var(--ccg-bg-light);
}

table a {
  color: var(--ccg-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

table a:hover {
  color: var(--ccg-accent);
  text-decoration: underline;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
  #header {
    padding: 1.5rem !important;
  }

  #menu ul li {
    margin: 0 1rem !important;
  }


  .list-header {
    padding: 1.5rem !important;
  }

  .list-header h2 {
    font-size: 1.5rem !important;
  }

  /* Card Responsive */
  .opportunity-card-new,
  .opportunity-card {
    padding: 1.25rem;
  }


  .urgent-badge,
  .recurring-badge {
    top: 1rem;
    left: 1rem;
    font-size: 0.7rem;
  }

  .icon-badge {
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
  }

  .icon-badge svg {
    width: 1.25rem;
    height: 1.25rem;
  }

  .card-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .card-description {
    font-size: 0.8rem;
    margin-bottom: 1rem;
  }

  .card-footer-new {
    gap: 0.5rem;
  }

  .footer-info span {
    font-size: 0.7rem;
  }

  .arrow-button {
    font-size: 1.25rem;
    padding: 0.25rem;
  }

  .result.row,
  [class*="result"] {
    padding: 1.25rem;
    margin-bottom: 1rem !important;
  }

  .opportunity-header {
    padding: 1rem !important;
  }

  .opportunity-body {
    padding: 1rem !important;
  }

  .opportunity-footer {
    padding: 1rem !important;
  }

  .btn {
    padding: 0.65rem 1rem !important;
    font-size: 0.9rem !important;
  }

  select {
    width: 2.25rem !important;
    height: 2.25rem !important;
    padding: 0.5rem !important;
    background-size: 0.9rem !important;
  }

  .a2a_floating_style {
    right: 10px !important;
    top: 100px !important;
  }

  .opportunities-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
}

@media (max-width: 480px) {
  #header {
    padding: 1rem !important;
  }

  .list-header {
    padding: 1rem !important;
  }

  .list-header h2 {
    font-size: 1.25rem !important;
  }

  .opportunities-grid {
    grid-template-columns: 1fr !important;
    padding: 0.5rem !important;
    gap: 1rem !important;
  }

  .opportunity-card-new,
  .opportunity-card,
  .result.row,
  [class*="result"] {
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 0.75rem !important;
  }

  .card-title {
    font-size: 0.95rem;
  }

  .card-description {
    font-size: 0.75rem;
  }

  .filter-title {
    font-size: 0.9rem !important;
  }

  select {
    width: 2rem !important;
    height: 2rem !important;
    padding: 0.4rem !important;
    background-size: 0.8rem !important;
    right: 0.75rem !important;
  }

  .select-button,
  button[class*="select"],
  .btn-select {
    width: 2rem !important;
    height: 2rem !important;
    right: 0.75rem !important;
    padding: 0.4rem !important;
  }

  .select-button::after,
  button[class*="select"]::after,
  .btn-select::after {
    font-size: 0.7rem !important;
  }
}