* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


@font-face {
  font-family: 'Nokia Sans';
  src: url('../assets/fonts/NokiaSans.woff2') format('ttf');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'Nokia Sans', sans-serif;
  background-color: #f1f1f1;
  color: #000;
  min-height: 100vh;
}

.navbar {
  position: absolute;
  top: 0;
  width: 100%;
  height: 10%;
  padding: 15px 50px;
  display: flex;
  justify-content: center;
  transition: background-color 0.3s ease;
  animation: slideDown 0.8s ease-out;
  background-image: linear-gradient(180deg, #000000, #02020200);
  z-index: 10;
  align-items: center;
  font-weight: bold;
}

.navbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, #000000, #ffffff60);
  opacity: 0;
  transition: opacity 1s ease;
  z-index: -1;
}

.navbar:hover::before {
  opacity: 1;
}

.navbar-container {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-img {
  height: 40px;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.1);
}

.nav-links {
  list-style: none;
  display: flex;
  column-gap: 45px;
  justify-content: center;
  width: 100%;
}

.nav-links li a {
  text-decoration: none;
  color: #fff;
  font-size: 1.2em;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 50%;
  width: 5px;
  height: 2px;
  background-color: #fff;
  transform: translateX(-50%);
  transition: width 0.3s ease, background-color 0.3s ease;
  border-radius: 3px;
}

.nav-links li a:hover::after {
  width: 60%;
  background-color: #ffc107;
}

.nav-links li a:hover {
  color: #ffc107;
  font-size: 1.3em;
}

.menu-toggle {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 22px;
  position: relative;
}

.menu-toggle span {
  background: #fff;
  height: 3px;
  width: 100%;
  position: absolute;
  left: 0;
  transition: 0.3s;
}

.menu-toggle span:nth-child(1) {
  top: 0;
}

.menu-toggle span:nth-child(2) {
  top: 9px;
}

.menu-toggle span:nth-child(3) {
  top: 18px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 9px;
}

@media (max-width: 768px) {
  .navbar {
    padding: 10px 20px;
    height: auto;
    justify-content: space-between;
  }

  .logo-img {
    height: 30px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: #000;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    padding: 15px;
    row-gap: 15px;
    border-radius: 0 0 8px 8px;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background: url("../assets/img/imagem-incio.png") center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
}

.hero-content h1 {
  font-size: 5rem;
  color: #ffc107;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.btn-hero {
  background: #ffc107;
  color: #000;
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 1.1rem;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-hero:hover {
  background: #e0a800;
  transform: scale(1.05);
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    flex-direction: column;
    width: 200px;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }
}


.swiper.tire-carousel {
  width: 95%;
  max-width: 100vw;
  padding-top: 30px;
  padding-bottom: 60px;
  margin: 3rem auto;

  --swiper-navigation-color: #ffc107;
  --swiper-pagination-color: #ffc107;
}

.swiper-slide {
  width: 350px;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.5;
  transition: transform 0.4s ease, opacity 0.4s ease;
  z-index: 0;
  scale: 0.85;
}

.swiper-slide-active,
.swiper-slide-next,
.swiper-slide-prev {
  opacity: 1;
  z-index: 1;
  scale: 0.9;
}

.swiper-slide-active {
  opacity: 1;
  z-index: 1;
  scale: 1;
  box-shadow: 0 12px 25px rgba(255, 193, 7, 0.4);
}

.tire-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #111;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  width: 100%;
  height: auto;
}

.tire-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(255, 193, 7, 0.4);
}

.tire-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tire-card p {
  color: #ffc107;
  font-weight: bold;
  text-transform: uppercase;
  padding: 15px;
  margin: 0;
  text-align: center;
  background-color: #1a1a1a;
  width: 100%;
}

.swiper-button-next,
.swiper-button-prev {
  transition: transform 0.2s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  transform: scale(1.3);
}

.swiper-pagination-bullet {
  background-color: #555;
  opacity: 0.7;
}

.swiper-pagination-bullet-active {
  background-color: #ffc107;
  opacity: 1;
}

@media (max-width: 1023px) {

  .swiper-slide {
    opacity: 0.7;
    transform: scale(0.9);
  }

  .swiper-slide-active {
    opacity: 1;
    transform: scale(1.05);
  }

  .swiper-slide-next,
  .swiper-slide-prev {
    opacity: 0.7;
    transform: scale(0.9);
    z-index: 0;
  }
}

@media (max-width: 600px) {

  .swiper.tire-carousel {
    padding-top: 20px;
    padding-bottom: 50px;
    width: 100%;
  }

  .swiper-slide {
    width: 260px;
    opacity: 0.8;
    transform: scale(0.9);
  }

  .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
  }

  .swiper-slide-next,
  .swiper-slide-prev {
    opacity: 0.8;
    transform: scale(0.9);
    z-index: 0;
  }

  .tire-card img {
    max-height: 220px;
  }

  .tire-card p {
    font-size: 0.9rem;
    min-height: 40px;
    padding: 10px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }

  .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
  }
}

.cards-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 1rem;
  background: url('../assets/img/asfalt-dark-bg.png'), #111;
  border-radius: 1rem;
  margin: 2rem auto;
  max-width: 1300px;
  box-shadow: 3px 8px 20px rgba(37, 37, 36, 0.808);

}

.cards-title {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(90deg, #ffc107, #ffeb37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  display: block;
}

.cards-title::after {
  content: '';
  display: block;
  width: 50%;
  height: 4px;
  background: linear-gradient(90deg, #ffc107, #fbff00);
  margin: 0.5rem auto 0;
  transition: width 0.4s ease, background 0.4s ease;
  border-radius: 2px;
}

.cards-title:hover::after {
  width: 100%;
  background: linear-gradient(90deg, #ebd300, #ffc107);
}

.cards-title {
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.about-us {
  padding: 80px 20px;
  background: url('../assets/img/asfalt-dark-bg.png'), #111;
}

.about-us .container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #e0a800;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.section-title p {
  font-size: 1.2rem;
  color: #c2bfbf;
}

.about-history {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 50px;
  margin-bottom: 80px;
}

.history-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.history-content h3 {
  font-size: 2rem;
  color: #ffc107;
  margin-bottom: 15px;
  border-bottom: 2px solid #ffc107;
  padding-bottom: 10px;
  display: inline-block;
}

.history-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #c2bfbf;
  text-align: justify;
}

.about-principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
}

.principle-card {
  background: #f9f9f9;
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid #ffc107;
}

.principle-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.principle-card img {
  height: 60px;
  margin-bottom: 20px;
}

.principle-card h3 {
  font-size: 1.5rem;
  color: #1a1a1a;
  margin-bottom: 15px;
}

.principle-card p,
.principle-card ul {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

.principle-card ul {
  list-style: none;
  padding: 0;
}

.about-commitment {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 30px;
  background: #f1f1f1;
  border-radius: 12px;
}

.about-commitment h3 {
  font-size: 1.8rem;
  color: #1a1a1a;
  margin-bottom: 15px;
}

.about-commitment p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
}


@media (max-width: 900px) {
  .about-history {
    grid-template-columns: 1fr;
  }

  .history-image {
    margin-bottom: 30px;
  }
}

.contact-info {
  width: 85%;
  padding: 40px 3%;
  background: #111;
  border-radius: 12px;
  color: #fff;
  max-width: 1200px;
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.contact-info h2 {
  margin-bottom: 25px;
  font-size: 2rem;
  color: #ffc107;
  border-bottom: 2px solid #ffc107;
  display: inline-block;
  padding-bottom: 6px;
}

.info-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.info-col {
  min-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-col-text {
  flex: 1;
  margin-bottom: auto;
  margin-top: auto;
}

.info-col-map {
  flex: 1.5;
  margin-bottom: auto;
  margin-top: auto;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.info-item img {
  margin-right: 15px;
  filter: brightness(0) invert(1);
  width: 30px;
  height: 30px;
}

.info-item strong {
  font-size: 1.2rem;
  color: #fff;
}

.info-item p {
  margin: 4px 0 0;
  color: #bbb;
  font-size: 1rem;
}

.info-col iframe {
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  width: 100%;
  height: 400px;
  border: none;
}


@media (max-width: 900px) {
  .info-container {
    flex-direction: column;
  }

  .info-col iframe {
    height: 250px;
    width: 100%;
  }
}

@media (max-width: 500px) {
  .contact-info {
    padding: 25px 15px;
  }

  .contact-info h2 {
    font-size: 1.5rem;
  }

  .info-item strong {
    font-size: 1rem;
  }

  .info-item p {
    font-size: 0.9rem;
  }
}

.search-box {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 400px;
  margin: 0 auto 20px auto;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
}

.search-box input {
  border: none;
  outline: none;
  padding: 12px 15px;
  flex: 1;
  font-size: 1rem;
}

.search-box .search-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  padding: 0 12px;
  cursor: pointer;
  color: #333;
}

@media (max-width: 600px) {

  .search-box {
    flex-direction: row;
    max-width: 100%;
  }

  .search-box input {
    font-size: 0.95rem;
    padding: 10px;
  }

  .search-box .search-btn {
    font-size: 1rem;
    padding: 0 10px;
  }

}

@media (max-width: 400px) {

  .search-box {
    flex-direction: column;
    border-radius: 8px;
    overflow: visible;
  }

  .search-box input {
    border-radius: 8px 8px 0 0;
    width: 100%;
  }

  .search-box .search-btn {
    width: 100%;
    background: #ffc107;
    color: #000;
    border-radius: 0 0 8px 8px;
    padding: 10px;
    font-weight: bold;
  }
}

.footer {
  background-color: #111;
  color: #ddd;
  padding: 50px 20px 25px;
}

.footer-container {
display: grid;
  max-width: 1200px;
  margin: auto;
  gap: 30px; 
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .footer-container {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (min-width: 1024px) {
  .footer-container {
    grid-template-columns: repeat(5, 1fr); 
  }
}

.footer-col h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
  color: #ffc107;
  position: relative;
}

.footer-col h3::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: #ffc107;
  margin-top: 6px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col p {
  text-align: center;
}

.footer-col ul li {
  margin: 8px 0;
}

.footer-col ul li a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: #ffc107;
}

.footer-logo {
  width: 160px;
  margin-bottom: 12px;
}

.footer-col-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 10px;
  flex-wrap: nowrap;
}

.social-links a {
  display: inline-block;
  transition: transform 0.3s, filter 0.3s;
}

.social-links a:hover {
  transform: scale(1.15);
  filter: brightness(1.2);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #333;
  padding-top: 18px;
  margin-top: 30px;
  font-size: 0.95rem;
  color: #aaa;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin-top: 5px;
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  margin: 12px 0;
}

.footer-contact-list li img {
  margin-right: 12px;
  width: 25px;
}

.footer-contact-list li a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-contact-list li a:hover {
  color: #ffc107;
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-col h3::after {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-contact-list {
    display: flex;
    justify-content: center;
  }
}

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1000;
  background-color: #eed814;
  color: #131214;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 50px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);

  transition: transform 0.3s ease, background-color 0.3s ease;
  animation: pulse 2s infinite ease-in-out;
}

.whatsapp-float:hover {
  background-color: #ffc107;
  transform: translateY(-5px);
  animation-play-state: paused;
}

.whatsapp-icon img {
  width: 30px;
  height: 30px;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 #887f06;
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 600px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    padding: 10px 15px;
  }

  .whatsapp-text {
    display: none;
  }
}

.instagram-section {
  padding: 80px 20px;
  background-color: #f1f1f1;
}

.section-title-instagram {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 50px;
  text-transform: uppercase;
  position: relative;
  display: block;
}

.section-title-instagram::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: #ffc107;
  margin: 10px auto 0;
  border-radius: 2px;
}


.instagram-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.instagram-post-item {
  width: 100%;
}

.instagram-media {
  background: #FFF;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
  margin: 1px auto !important;
  max-width: 100% !important;
  min-width: unset !important;
  padding: 0 !important;
  width: 100% !important;
}

.footer-container .footer-col:nth-child(4) .footer-contact-list {
  display: flex;
  gap: 15px; 
  margin-top: 10px; 
}

.footer-container .footer-col:nth-child(4) .footer-contact-list li {
  margin: 0; 
}

.map-search-section {
  margin-top: 2%;
  padding: 80px 20px;
  background: url("../assets/img/asfalt-dark-bg.png"), #111;
  color: #fff;
}

.map-search-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.map-search-section .section-title {
  text-align: center;
  margin-bottom: 50px;
}

.map-search-section .section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffc107;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.map-search-section .section-title p {
  font-size: 1.2rem;
  color: #c2bfbf;
}

.map-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr; 
  gap: 40px;
  align-items: center;
}

.map-container {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}


#svg-map {
  width: 100%;
  height: auto;
  max-width: 450px; 
}

#svg-map text {
  display: block;
  fill: #000000;  
  font-size: 10px;
  font-weight: bold;
  pointer-events: none; 
}


#svg-map a > path,
#svg-map a > polygon {
  fill: #FFFFFF; 
  stroke: #1a1a1a !important;
  stroke-width: 1.5 !important;
  transition: fill 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

#svg-map a:hover > path,
#svg-map a:hover > polygon {
  fill: #ffc107;
  transform: scale(1.02); 
}

#svg-map a > path.active,
#svg-map a > polygon.active {
  fill: #e0a800; 
  stroke: #ffc107 !important;
  stroke-width: 2.5 !important;
  transform: scale(1.03);
}

#svg-map g > path:not([stroke="#FFFFFF"]),
#svg-map g > polygon:not([stroke="#FFFFFF"]) {
    fill: #5a5a5a; 
    stroke: #1a1a1a;
    stroke-width: 1;
}

.map-layout .info-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.btn-resellers {
    background-color: #ffc107; 
    color: #1a1a1a;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    width: fit-content;
}

.btn-resellers:hover {
    background-color: #e0a800;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.5);
}

.info-display {
  background-color: #222;
  border: 1px solid #444;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.info-box {
  margin-bottom: 25px;
}
.info-box:last-child {
  margin-bottom: 0;
}

.info-box h4 {
  font-size: 1.1rem;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.info-box p {
  font-size: 1.8rem;
  font-weight: bold;
  color: #ffc107;
  margin: 0;
}

@media (max-width: 900px) {
  .map-layout {
    grid-template-columns: 1fr; 
  }

  .map-layout .info-container {
    max-width: 500px;
    margin: 0 auto; 
  }

  .map-search-section .section-title h2 {
    font-size: 2rem;
  }
}

.footer-container .footer-col:nth-child(4) .footer-contact-list {
  display: flex;
  gap: 15px;
  margin-top: 10px;

}

.footer-container .footer-col:nth-child(4) .footer-contact-list li {
  margin: 0;
}

.footer-contact-list a:hover {
  transform: scale(1.15);
  filter: brightness(1.2);
}

.modal-overlay {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: #1f1f1f;
    border: 1px solid #ffc107;
    border-radius: 12px;
    width: 90%;
    max-width: 600px; 
    max-height: 80vh; 
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 15px 40px rgba(0,0,0,0.8);
    animation: slideUp 0.3s ease;
}

.modal-header {
    padding: 25px 25px 10px;
    text-align: center;
    border-bottom: 1px solid #333;
}

.modal-header h2 {
    color: #ffc107;
    text-transform: uppercase;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.modal-header p {
    color: #ccc;
    font-size: 0.9rem;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover {
    color: #ffc107;
}

.modal-controls {
    padding: 15px 25px;
    background-color: #252525;
}

.modal-controls select {
    width: 100%;
    padding: 12px;
    background-color: #333;
    color: #fff;
    border: 1px solid #555;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
}

.modal-body {
    padding: 0 25px 25px;
    overflow-y: auto;
    flex-grow: 1;
}

#modal-resellers-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.modal-reseller-item {
    background-color: #2c2c2c;
    border-left: 4px solid #555;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 4px;
    transition: border-color 0.3s;
}

.modal-reseller-item:hover {
    border-left-color: #ffc107;
    background-color: #333;
}

.modal-reseller-item strong {
    display: block;
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.modal-reseller-item span {
    font-size: 0.85rem;
    color: #ffc107;
    text-transform: uppercase;
    font-weight: bold;
}

.modal-reseller-item p {
    color: #ccc;
    font-size: 0.9rem;
    margin: 5px 0 0;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-body::-webkit-scrollbar {
    width: 8px;
}
.modal-body::-webkit-scrollbar-track {
    background: #1f1f1f;
}
.modal-body::-webkit-scrollbar-thumb {
    background-color: #555;
    border-radius: 4px;
}

@media (max-width: 768px) {

    .modal-content {
        width: 95%;       
        max-height: 85vh; 
        margin: 10% auto;
    }

    .modal-header {
        padding: 15px;  
    }

    .modal-header h2 {
        font-size: 1.3rem; 
    }

    .modal-body {
        padding: 0 15px 15px; 
    }

    .modal-reseller-item {
        padding: 12px;  
    }
    
    .modal-reseller-item strong {
        font-size: 1rem; 
    }

    .btn-resellers {
        width: 90%;      
        font-size: 0.9rem;
        padding: 15px;   
    }

    .btn-resellers[style*="cursor: not-allowed"] {
        background-color: #444 !important;
        color: #888 !important;           
        box-shadow: none !important;
        opacity: 1 !important;
    }
    
    .btn-resellers[title]:active:after {
        content: attr(title);
        position: absolute;
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        background: #333;
        color: #fff;
        padding: 5px 10px;
        border-radius: 4px;
        font-size: 0.8rem;
        white-space: nowrap;
        z-index: 10;
    }
}