    :root {
      --primary-color: #abaaa8; /*letras*/
      --secondary-color: #2c3e50;
      --accent-color: #e74c3c;
      --light-bg: #f8f9fa;
      --dark-bg: #2c3e50;
      --gradient: linear-gradient(135deg, #0b0b0b 0%, #5d5c5b 100%);
    }

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

    body {
      font-family: 'Poppins', sans-serif;
      line-height: 1.6;
      color: #333;
    }

    .hero-section {
      background: var(--gradient);
      min-height: 100vh;
      display: flex;
      align-items: center;
      position: relative;
      overflow: hidden;
    }

    .text-light {
      text-decoration: none;
    }

    .hero-section::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      /*background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,0 1000,300 1000,1000 0,700"/></svg>');*/
      z-index: 1;
      pointer-events: none;
      /* Add this line */
    }

    .hero-content {
      position: relative;
      z-index: 2;
    }

    .navbar {
      background: rgba(255, 255, 255, 0.95) !important;
      backdrop-filter: blur(10px);
      box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    }

    .navbar-brand {
      font-weight: 700;
      font-size: 1.8rem;
      color: var(--primary-color) !important;
    }

    .btn-primary {
      background: var(--gradient);
      border: none;
      padding: 12px 30px;
      border-radius: 50px;
      font-weight: 600;
      transition: all 0.3s ease;
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 30px rgba(164, 163, 163, 0.4);
    }

    .btn-outline-primary {
      border: 2px solid var(--primary-color);
      color: var(--primary-color);
      padding: 12px 30px;
      border-radius: 50px;
      font-weight: 600;
      transition: all 0.3s ease;
    }

    .btn-outline-primary:hover {
      background: var(--primary-color);
      transform: translateY(-2px);
    }

    .feature-card {
      background: white;
      border-radius: 20px;
      padding: 2rem;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
      transition: all 0.3s ease;
      height: 100%;
    }

    .nav-link.active {
      position: relative;
      font-weight: 600;
    }

    .nav-link.active::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: 0;
      width: 100%;
      height: 3px;
      background-color: var(--primary-color);
      border-radius: 2px;
    }


    .feature-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    }

    .feature-icon {
      width: 80px;
      height: 80px;
      background: var(--gradient);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 1.5rem;
      color: white;
      font-size: 2rem;
    }

    .booking-form {
      background: white;
      border-radius: 20px;
      padding: 2rem;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
      position: relative;
      z-index: 3;
      /* Increase this to be higher than the pseudo-element */
    }

    .form-control {
      border-radius: 15px;
      border: 2px solid #e9ecef;
      padding: 15px 20px;
      transition: all 0.3s ease;
    }

    .form-control:focus {
      border-color: var(--primary-color);
      box-shadow: 0 0 0 0.2rem rgba(243, 156, 18, 0.25);
    }

    .stats-section {
      background: var(--dark-bg);
      color: white;
      padding: 5rem 0;
    }

    .stat-item {
      text-align: center;
      margin-bottom: 2rem;
    }

    .stat-number {
      font-size: 3rem;
      font-weight: 700;
      color: var(--primary-color);
      display: block;
    }

    .testimonial-card {
      background: white;
      border-radius: 20px;
      padding: 2rem;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
      margin: 1rem;
    }

    .rating {
      color: var(--primary-color);
      margin-bottom: 1rem;
    }

    .footer {
      background: var(--dark-bg);
      color: white;
      padding: 3rem 0 1rem;
    }

    .social-links a {
      display: inline-block;
      width: 50px;
      height: 50px;
      background: var(--primary-color);
      border-radius: 50%;
      text-align: center;
      line-height: 50px;
      color: white;
      margin: 0 10px;
      transition: all 0.3s ease;
    }

    .nav-link {
      padding-right: 15px !important;
      padding-left: 15px !important;
    }

    .social-links a:hover {
      transform: translateY(-5px);
      background: #abaaa8;
    }

    .section-padding {
      padding: 5rem 0;
    }

    /* Allow scrolling inside mobile navbar */
    @media (max-width: 992.98px) {
      .navbar-collapse {
        max-height: 80vh;
        overflow-y: auto;
      }

      .dropdown-menu {
        position: static;
        /* Keep dropdown inside flow */
        float: none;
      }
    }


    @media (max-width: 992) {
      .hero-section {
        min-height: 80vh;
        margin-top: 73px !important;
        padding-bottom: 20px;
      }

      .booking-form {
        margin-top: 20px;
      }

    }

    @media (max-width: 992px) {
      .hero-section {
        min-height: 80vh;
        margin-top: 73px !important;
        padding-bottom: 20px;
      }

      .booking-form {
        margin-top: 20px;
      }

      .stat-number {
        font-size: 2rem;
      }

      .feature-card {
        margin-bottom: 2rem;
      }
    }

    .fade-in {
      opacity: 0;
      transform: translateY(30px);
      transition: all 0.8s ease;
    }

    .fade-in.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .nav-link.active {
      position: relative;
      font-weight: 600;
    }

    .nav-link.active::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: 0;
      width: 100%;
      height: 3px;
      background-color: var(--primary-color);
      border-radius: 2px;
    }

    #scrollToTopBtn {
      position: fixed;
      bottom: 30px;
      right: 30px;
      z-index: 999;
      background-color: #000;
      color: #fff;
      border: none;
      outline: none;
      width: 45px;
      height: 45px;
      border-radius: 50%;
      font-size: 18px;
      display: none;
      cursor: pointer;
      transition: opacity 0.3s ease;
    }

    #scrollToTopBtn:hover {
      background-color: #444;
    }

    .hero-section::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      /*
      background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,0 1000,300 1000,1000 0,700"/></svg>');
      */
      z-index: 1;
      pointer-events: none;
      /* Add this line */
    }

    .hero-content {
      position: relative;
      z-index: 2;
    }

    .navbar {
      background: rgba(255, 255, 255, 0.95) !important;
      backdrop-filter: blur(10px);
      box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    }

    /* Enhanced FAQ Section */
    .faq-section {
      background: white;
      position: relative;
    }

    .faq-container {
      position: relative;
      z-index: 1;
    }

    .faq-card {
      background: white;
      border-radius: 15px;
      padding: 1.5rem;
      margin-bottom: 1rem;
      box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
      border-left: 4px solid var(--primary-color);
      transition: all 0.3s ease;
      cursor: pointer;
    }

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

    .faq-card h5 {
      position: relative;
      padding-left: 30px;
      color: var(--secondary-color);
    }

    .faq-card h5::before {
      content: '\f059';
      font-family: 'Font Awesome 6 Free';
      font-weight: 900;
      position: absolute;
      left: 0;
      color: var(--primary-color);
    }

    .faq-card p {
      padding-left: 30px;
      color: #6c757d;
      margin-top: 0.5rem;
    }

    .section-title {
      position: relative;
      display: inline-block;
      margin-bottom: 2rem;
    }

    .section-title::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: -10px;
      width: 50px;
      height: 4px;
      background: var(--primary-color);
      border-radius: 2px;
    }

    .section-subtitle {
      color: #6c757d;
      margin-bottom: 3rem;
    }

    .terms-hero {
      background: var(--gradient);
      padding: 100px 0;
      color: white;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .terms-hero::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      /*
      background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,0 1000,300 1000,1000 0,700"/></svg>');
      */
      z-index: 1;
    }

    .terms-hero h1 {
      font-weight: 700;
      font-size: 3rem;
      margin-bottom: 1rem;
      position: relative;
      z-index: 2;
    }

    /* Enhanced Testimonials Section */
    .testimonials-section {
      background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
      position: relative;
      overflow: hidden;
    }

    .testimonials-section::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      /*
      background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyNDMsMTU2LDE4LDAuMDMpIj48L3JlY3Q+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI3BhdHRlcm4pIj48L3JlY3Q+PC9zdmc+');
      */
      opacity: 0.5;
      z-index: 0;
    }

    .testimonial-container {
      position: relative;
      z-index: 1;
    }

    .testimonial-card {
      background: white;
      border-radius: 20px;
      padding: 2rem;
      box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
      transition: all 0.4s ease;
      position: relative;
      overflow: hidden;
      margin-bottom: 30px;
      border: none;
    }

    .testimonial-card::before {
      content: '\201C';
      position: absolute;
      top: 20px;
      left: 20px;
      font-size: 5rem;
      color: rgba(243, 156, 18, 0.1);
      font-family: Georgia, serif;
      line-height: 1;
      z-index: 0;
    }

    .testimonial-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    }

    .testimonial-content {
      position: relative;
      z-index: 1;
    }

    .testimonial-img {
      width: 80px;
      height: 80px;
      border-radius: 50%;
      object-fit: cover;
      border: 4px solid var(--primary-color);
      margin-bottom: 1.5rem;
    }

    .testimonial-rating {
      color: var(--primary-color);
      font-size: 1.2rem;
      margin-bottom: 1rem;
    }

    .testimonial-text {
      font-style: italic;
      margin-bottom: 1.5rem;
      position: relative;
      padding-left: 20px;
    }

    .testimonial-text::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      height: 100%;
      width: 4px;
      background: var(--primary-color);
      border-radius: 2px;
    }

    .testimonial-author {
      font-weight: 600;
      margin-bottom: 0.25rem;
    }

    .testimonial-role {
      color: #6c757d;
      font-size: 0.9rem;
    }

    /* Terms and Conditions Specific Styles */
    .terms-hero {
      background: var(--gradient);
      padding: 100px 0;
      color: white;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .terms-hero::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      /*
      background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,0 1000,300 1000,1000 0,700"/></svg>');
      */
      z-index: 1;
    }

    .terms-hero h1 {
      font-weight: 700;
      font-size: 3rem;
      margin-bottom: 1rem;
      position: relative;
      z-index: 2;
    }

    .terms-hero p {
      font-size: 1.2rem;
      opacity: 0.9;
      position: relative;
      z-index: 2;
    }

    .terms-container {
      max-width: 1000px;
      margin: 0 auto;
      padding: 60px 20px;
    }

    .terms-section {
      margin-bottom: 40px;
    }

    .terms-section h2 {
      color: var(--secondary-color);
      font-weight: 600;
      margin-bottom: 20px;
      padding-bottom: 10px;
      border-bottom: 2px solid var(--primary-color);
    }

    .terms-section h3 {
      color: var(--secondary-color);
      font-weight: 500;
      margin: 25px 0 15px;
    }

    .terms-section p {
      margin-bottom: 15px;
      color: #555;
    }

    .terms-section ul {
      margin-bottom: 20px;
      padding-left: 20px;
    }

    .terms-section li {
      margin-bottom: 10px;
      color: #555;
    }

    .last-updated {
      text-align: center;
      margin-top: 50px;
      font-style: italic;
      color: #777;
    }

    @media (max-width: 768px) {
      .terms-hero h1 {
        font-size: 2.2rem;
      }

      .terms-hero p {
        font-size: 1rem;
      }

      .terms-container {
        padding: 40px 15px;
      }
    }

    /* Animation for terms sections */
    .terms-section {
      opacity: 0;
      transform: translateY(30px);
      transition: all 0.6s ease;
    }

    .terms-section.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* Signup Page Styles */
    .signup-hero {
      background: var(--gradient);
      padding: 80px 0;
      color: white;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .signup-hero::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      /*
      background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,0 1000,300 1000,1000 0,700"/></svg>');
      */
      z-index: 1;
    }

    .signup-hero h1 {
      font-weight: 700;
      font-size: 3rem;
      margin-bottom: 1rem;
      position: relative;
      z-index: 2;
    }

    .signup-hero p {
      font-size: 1.2rem;
      opacity: 0.9;
      position: relative;
      z-index: 2;
    }

    .signup-container {
      max-width: 600px;
      margin: 50px auto;
      padding: 40px;
      background: white;
      border-radius: 20px;
      box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
      position: relative;
      z-index: 1;
    }

    .signup-container h2 {
      color: var(--secondary-color);
      font-weight: 600;
      margin-bottom: 30px;
      text-align: center;
    }

    .form-control {
      border-radius: 15px;
      border: 2px solid #e9ecef;
      padding: 15px 20px;
      transition: all 0.3s ease;
      margin-bottom: 20px;
    }

    .form-control:focus {
      border-color: var(--primary-color);
      box-shadow: 0 0 0 0.2rem rgba(243, 156, 18, 0.25);
    }

    .form-label {
      font-weight: 500;
      color: var(--secondary-color);
    }

    .form-row {
      display: flex;
      gap: 20px;
    }

    .form-group {
      flex: 1;
    }

    .signup-with {
      text-align: center;
      margin: 30px 0;
      position: relative;
    }

    .signup-with::before,
    .signup-with::after {
      content: '';
      position: absolute;
      top: 50%;
      width: 30%;
      height: 1px;
      background: #e9ecef;
    }

    .signup-with::before {
      left: 0;
    }

    .signup-with::after {
      right: 0;
    }

    .social-signup {
      display: flex;
      justify-content: center;
      gap: 15px;
      margin-bottom: 30px;
    }

    .social-btn {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 1.2rem;
      transition: all 0.3s ease;
      text-decoration: none;
    }

    .social-btn.google {
      background: #DB4437;
    }

    .social-btn.facebook {
      background: #4267B2;
    }

    .social-btn.apple {
      background: #000;
    }

    .social-btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .login-link {
      text-align: center;
      margin-top: 20px;
    }

    .login-link a {
      color: var(--primary-color);
      font-weight: 500;
      text-decoration: none;
    }

    .terms-agreement {
      margin: 20px 0;
      font-size: 0.9rem;
      color: #6c757d;
    }

    .terms-agreement a {
      color: var(--primary-color);
      text-decoration: none;
    }

    @media (max-width: 768px) {
      .signup-hero h1 {
        font-size: 2.2rem;
      }

      .signup-hero p {
        font-size: 1rem;
      }

      .signup-container {
        padding: 30px 20px;
        margin: 30px 15px;
      }

      .form-row {
        flex-direction: column;
        gap: 0;
      }
    }

    .ride-card {
      background: rgba(255, 255, 255, 0.85);
      border-radius: 20px;
      padding: 25px;
      margin-bottom: 30px;
      backdrop-filter: blur(10px);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease;
    }

    .ride-card:hover {
      transform: translateY(-5px);
    }

    .ride-card h5 {
      font-weight: 600;
    }

    .ride-info i {
      color: #007bff;
      margin-right: 8px;
    }

    .status-badge {
      font-size: 0.85rem;
      padding: 6px 10px;
      border-radius: 20px;
    }

    .badge-upcoming {
      background-color: #ffc107;
      color: #000;
    }

    .badge-completed {
      background-color: #28a745;
    }

    .badge-cancelled {
      background-color: #6c757d;
    }

    .icon-box {
      text-align: center;
      padding: 30px;
      border-radius: 10px;
      background: #fff;
      box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
      transition: 0.3s;
    }

    .icon-box:hover {
      transform: translateY(-5px);
    }

    .icon-box i {
      font-size: 32px;
      color: #007bff;
      margin-bottom: 15px;
    }

    /* Payment Page Styles */
    .payment-hero {
      background: var(--gradient);
      padding: 80px 0;
      color: white;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .payment-hero::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      /*
      background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,0 1000,300 1000,1000 0,700"/></svg>');
      */
      z-index: 1;
    }

    .payment-hero h1 {
      font-weight: 700;
      font-size: 3rem;
      margin-bottom: 1rem;
      position: relative;
      z-index: 2;
    }

    .payment-hero p {
      font-size: 1.2rem;
      opacity: 0.9;
      position: relative;
      z-index: 2;
    }

    .payment-container {
      max-width: 100%;
      margin: 50px auto;
      background: white;
      border-radius: 20px;
      box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
      position: relative;
      z-index: 1;
      overflow: hidden;
    }

    .payment-header {
      background: var(--secondary-color);
      color: white;
      padding: 20px;
      text-align: center;
    }

    .payment-header h2 {
      font-weight: 600;
      margin: 0;
    }

    .payment-body {
      padding: 30px;
    }

    .trip-summary {
      background: #f8f9fa;
      border-radius: 15px;
      padding: 20px;
      margin-bottom: 30px;
    }

    .trip-details {
      display: flex;
      justify-content: space-between;
      margin-bottom: 15px;
    }

    .trip-location {
      display: flex;
      align-items: center;
      margin-bottom: 20px;
    }

    .location-icon {
      width: 40px;
      height: 40px;
      background: var(--primary-color);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      margin-right: 15px;
    }

    .location-line {
      width: 2px;
      height: 30px;
      background: #ddd;
      margin: 5px 0 5px 19px;
    }

    .payment-methods {
      margin-bottom: 30px;
    }

    .payment-method {
      display: flex;
      align-items: center;
      padding: 15px;
      border: 2px solid #e9ecef;
      border-radius: 15px;
      margin-bottom: 15px;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .payment-method:hover {
      border-color: var(--primary-color);
    }

    .payment-method.active {
      border-color: var(--primary-color);
      background: rgba(243, 156, 18, 0.05);
    }

    .payment-method-icon {
      width: 50px;
      height: 30px;
      margin-right: 15px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--secondary-color);
    }

    .payment-form {
      margin-top: 20px;
      padding: 20px;
      border: 2px solid #e9ecef;
      border-radius: 15px;
      display: none;
    }

    .payment-form.active {
      display: block;
    }

    .form-control {
      border-radius: 15px;
      border: 2px solid #e9ecef;
      padding: 15px 20px;
      transition: all 0.3s ease;
      margin-bottom: 20px;
    }

    .form-control:focus {
      border-color: var(--primary-color);
      box-shadow: 0 0 0 0.2rem rgba(243, 156, 18, 0.25);
    }

    .form-label {
      font-weight: 500;
      color: var(--secondary-color);
    }

    .form-row {
      display: flex;
      gap: 20px;
    }

    .form-group {
      flex: 1;
    }

    .payment-total {
      background: var(--light-bg);
      padding: 20px;
      border-radius: 15px;
      margin-top: 30px;
    }

    .total-row {
      display: flex;
      justify-content: space-between;
      margin-bottom: 10px;
    }

    .total-row:last-child {
      margin-top: 15px;
      padding-top: 15px;
      border-top: 1px solid #ddd;
      font-weight: 600;
      font-size: 1.2rem;
    }

    @media (max-width: 768px) {
      .payment-hero h1 {
        font-size: 2.2rem;
      }

      .payment-hero p {
        font-size: 1rem;
      }

      .payment-container {
        margin: 30px 15px;
      }

      .form-row {
        flex-direction: column;
        gap: 0;
      }

      .trip-details {
        flex-direction: column;
      }
    }

    .form-check-input:checked {
      background-color: #e9841e;
      border-color: #e9841e;
    }

    .card {
      border: none;
      border-radius: 15px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
      transition: 0.3s ease;
    }

    .card:hover {
      transform: translateY(-5px);
    }

    .card img {
      border-top-left-radius: 15px;
      border-top-right-radius: 15px;

      object-fit: cover;
    }

    .card-title {
      font-weight: 600;
    }

    .team-card {
      background: white;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s, box-shadow 0.3s;
      margin-bottom: 30px;
      text-align: center;
    }

    .team-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    }

    .team-img {
      height: 250px;
      overflow: hidden;
    }

    .team-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s;
    }

    .team-card:hover .team-img img {
      transform: scale(1.05);
    }

    .team-info {
      padding: 25px 20px;
    }

    .team-info h3 {
      font-size: 1.5rem;
      margin-bottom: 5px;
      color: #333;
    }

    .team-info p.position {
      color: #f09516;
      font-weight: 500;
      margin-bottom: 15px;
    }

    .team-info p.bio {
      color: #666;
      font-size: 0.95rem;
      margin-bottom: 20px;
    }

    .team-social {
      display: flex;
      justify-content: center;
      gap: 15px;
    }

    .team-social a {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 35px;
      height: 35px;
      border-radius: 50%;
      background: #f8f9fa;
      color: #333;
      transition: all 0.3s;
    }

    .team-social a:hover {
      background: #007bff;
      color: white;
    }

    .values-section {
      background: #f8f9fa;
      padding: 80px 0;
    }

    .value-card {
      background: white;
      padding: 30px;
      border-radius: 10px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
      text-align: center;
      height: 100%;
      transition: transform 0.3s;
    }

    .value-card:hover {
      transform: translateY(-10px);
    }

    .value-icon {
      font-size: 2.5rem;
      color: #f09516;
      margin-bottom: 20px;
    }

    .value-card h3 {
      font-size: 1.5rem;
      margin-bottom: 15px;
    }

    .value-card p {
      color: #666;
    }

    @media (max-width: 767px) {
      .team-hero {
        padding: 100px 0 60px;
      }

      .team-hero h1 {
        font-size: 2.2rem;
      }

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

    .team-hero {
      /*
      background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1600891964599-f61ba0e24092?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
      */
      background-size: cover;
      background-position: center;
      color: white;
      padding: 120px 0 80px;
      text-align: center;
    }

    .team-hero h1 {
      font-size: 3rem;
      font-weight: 700;
      margin-bottom: 20px;
    }

    .team-hero p {
      font-size: 1.2rem;
      max-width: 700px;
      margin: 0 auto;
    }

    .team-section {
      padding: 80px 0;
    }

    /* Enable hover dropdown */
    .navbar .dropdown:hover .dropdown-menu {
      display: block;
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
      transition: all 0.3s ease-in-out;
    }

    /* Initial hidden state */
    .navbar .dropdown-menu {
      display: block;
      opacity: 0;
      visibility: hidden;
      transform: translateY(10px);
      transition: all 0.3s ease-in-out;
      margin-top: 0;
      border-radius: 0.5rem;
      box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
      z-index: 1000;
    }

    /* Optional: style dropdown items */
    .dropdown-menu .dropdown-item:hover {
      background-color: #f8f9fa;
      color: #000;
    }

    /* Optional: style dropdown items salir*/
    .dropdown-menu .dropdown-item-salir:hover {
      background-color: #f8f9fa;
      color: #d90303;
    }


    /* Preloader styles */
    #preloader {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: #fff;
      z-index: 9999;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .spinner {
      width: 50px;
      height: 50px;
      border: 6px solid #ccc;
      border-top: 6px solid #c0bfbe;
      border-radius: 50%;
      animation: spin 1s linear infinite;
    }

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

    /* Blog-specific styles */
    .blog-hero {
      /*
      background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1502877338535-766e1452684a?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
      */
      background-size: cover;
      background-position: center;
      color: white;
      padding: 120px 0 80px;
      text-align: center;
    }

    .blog-hero h1 {
      font-size: 3rem;
      font-weight: 700;
      margin-bottom: 20px;
    }

    .blog-hero p {
      font-size: 1.2rem;
      max-width: 700px;
      margin: 0 auto;
    }

    .blog-section {
      padding: 80px 0;
    }

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

    .section-title h2 {
      font-size: 2.5rem;
      font-weight: 700;
      color: #333;
      margin-bottom: 15px;
    }

    .section-title p {
      color: #666;
      font-size: 1.1rem;
      max-width: 700px;
      margin: 0 auto;
    }

    .blog-card {
      background: white;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s, box-shadow 0.3s;
      margin-bottom: 30px;
      height: 100%;
    }

    .blog-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    }

    .blog-img {
      height: 220px;
      overflow: hidden;
    }

    .blog-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s;
    }

    .blog-card:hover .blog-img img {
      transform: scale(1.05);
    }

    .blog-content {
      padding: 25px;
    }

    .blog-meta {
      display: flex;
      align-items: center;
      margin-bottom: 15px;
      font-size: 0.9rem;
      color: #666;
    }

    .blog-meta span {
      display: flex;
      align-items: center;
      margin-right: 15px;
    }

    .blog-meta i {
      margin-right: 5px;
      color: #f09516;
    }

    .blog-content h3 {
      font-size: 1.5rem;
      margin-bottom: 15px;
      color: #333;
    }

    .blog-content p {
      color: #666;
      margin-bottom: 20px;
    }

    .read-more {
      color: #f09516;
      font-weight: 600;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
    }

    .read-more:hover {
      color: #0056b3;
    }

    .read-more i {
      margin-left: 5px;
      transition: transform 0.3s;
    }

    .read-more:hover i {
      transform: translateX(5px);
    }

    .categories-section {
      background: #f8f9fa;
      padding: 80px 0;
    }

    .category-card {
      background: white;
      padding: 30px;
      border-radius: 10px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
      text-align: center;
      height: 100%;
      transition: transform 0.3s;
      margin-bottom: 30px;
    }

    .category-card:hover {
      transform: translateY(-10px);
    }

    .category-icon {
      font-size: 2.5rem;
      color: #f09516;
      margin-bottom: 20px;
    }

    .category-card h3 {
      font-size: 1.5rem;
      margin-bottom: 15px;
    }

    .category-card p {
      color: #666;
    }

    .newsletter-section {
      background: #f09516;
      color: white;
      padding: 60px 0;
      text-align: center;
    }

    .newsletter-section h2 {
      font-size: 2rem;
      margin-bottom: 20px;
    }

    .newsletter-section p {
      max-width: 600px;
      margin: 0 auto 30px;
    }

    .newsletter-form {
      max-width: 500px;
      margin: 0 auto;
    }

    .newsletter-form .form-control {
      height: 50px;
      border-radius: 30px;
      border: none;
      padding: 0 20px;
    }

    .newsletter-form .btn {
      border-radius: 30px;
      padding: 10px 30px;
      font-weight: 600;
    }

    .pagination {
      justify-content: center;
      margin-top: 50px;
    }

    .page-item.active .page-link {
      background-color: #f09516;
      border-color: #f09516;
    }

    .page-link {
      color: #f09516;
      margin: 0 5px;
      border-radius: 5px !important;
    }

    @media (max-width: 767px) {
      .blog-hero {
        padding: 100px 0 60px;
      }

      .blog-hero h1 {
        font-size: 2.2rem;
      }

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

      .blog-img {
        height: 180px;
      }
    }

    .newsletter-section {
      background: #f09516;
      color: white;
      padding: 60px 0;
      text-align: center;
    }

    .newsletter-section h2 {
      font-size: 2rem;
      margin-bottom: 20px;
    }

    .newsletter-section p {
      max-width: 600px;
      margin: 0 auto 30px;
    }

    .newsletter-form {
      max-width: 500px;
      margin: 0 auto;
    }

    .newsletter-form .form-control {
      height: 50px;
      border-radius: 30px;
      border: none;
      padding: 0 20px;
    }

    .newsletter-form .btn {
      border-radius: 30px;
      padding: 10px 30px;
      font-weight: 600;
    }

    .newsletter-form .btn-light {
      height: 50px;
    }

    .blogpost-hero {
      /*
      background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1502877338535-766e1452684a?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
      */
      background-size: cover;
      background-position: center;
      color: white;
      padding: 150px 0 80px;
      text-align: center;
    }

    .blogpost-hero h1 {
      font-size: 2.8rem;
      font-weight: 700;
      margin-bottom: 20px;
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
    }

    .blogpost-meta {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-wrap: wrap;
      gap: 20px;
      margin-bottom: 30px;
    }

    .blogpost-meta-item {
      display: flex;
      align-items: center;
      font-size: 1rem;
    }

    .blogpost-meta-item i {
      margin-right: 8px;
      color: #f09516;
    }

    .blogpost-content {
      padding: 60px 0;
    }

    .blogpost-container {

      margin: 0 auto;
    }

    .blogpost-image {
      margin: 40px 0;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

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

    .blogpost-image-caption {
      text-align: center;
      font-size: 0.9rem;
      color: #666;
      margin-top: 10px;
    }

    .blogpost-content h2 {
      font-size: 1.8rem;
      margin: 50px 0 20px;
      color: #333;
    }

    .blogpost-content h3 {
      font-size: 1.4rem;
      margin: 40px 0 15px;
      color: #333;
    }

    .blogpost-content p {
      font-size: 1.1rem;
      line-height: 1.8;
      color: #444;
      margin-bottom: 25px;
    }

    .blogpost-content ul,
    .blogpost-content ol {
      margin-bottom: 25px;
      padding-left: 20px;
    }

    .blogpost-content li {
      margin-bottom: 10px;
      line-height: 1.6;
    }

    .quote-block {
      border-left: 4px solid #f09516;
      padding-left: 20px;
      margin: 40px 0;
      font-style: italic;
      color: #555;
      font-size: 1.2rem;
    }

    .quote-author {
      display: block;
      font-style: normal;
      font-weight: 600;
      margin-top: 10px;
      color: #333;
    }

    .tags-section {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin: 40px 0;
    }

    .tag {
      background: #f8f9fa;
      padding: 5px 15px;
      border-radius: 20px;
      font-size: 0.9rem;
      color: #333;
      text-decoration: none;
      transition: all 0.3s;
    }

    .tag:hover {
      background: #f09516;
      color: white;
    }

    .author-card {
      background: #f8f9fa;
      border-radius: 10px;
      padding: 30px;
      display: flex;
      align-items: center;
      margin: 60px 0;
    }

    .author-avatar {
      width: 100px;
      height: 100px;
      border-radius: 50%;
      overflow: hidden;
      margin-right: 30px;
      flex-shrink: 0;
    }

    .author-avatar img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .author-info h4 {
      font-size: 1.4rem;
      margin-bottom: 5px;
    }

    .author-info p {
      color: #666;
      margin-bottom: 15px;
    }

    .author-social {
      display: flex;
      gap: 15px;
    }

    .author-social a {
      color: #333;
      transition: color 0.3s;
    }

    .author-social a:hover {
      color: #f09516;
    }

    .related-posts {
      padding: 60px 0;
      background: #f8f9fa;
    }

    .related-posts h3 {
      text-align: center;
      margin-bottom: 40px;
      font-size: 1.8rem;
    }

    .related-post-card {
      background: white;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
      transition: transform 0.3s;
      height: 100%;
    }

    .related-post-card:hover {
      transform: translateY(-10px);
    }

    .related-post-img {
      height: 180px;
      overflow: hidden;
    }

    .related-post-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s;
    }

    .related-post-card:hover .related-post-img img {
      transform: scale(1.05);
    }

    .related-post-content {
      padding: 20px;
    }

    .related-post-content h4 {
      font-size: 1.2rem;
      margin-bottom: 10px;
    }

    .related-post-content p {
      font-size: 0.9rem;
      color: #666;
      margin-bottom: 15px;
    }

    .related-post-link {
      color: #f09516;
      font-weight: 600;
      text-decoration: none;
      font-size: 0.9rem;
      display: inline-flex;
      align-items: center;
    }

    .related-post-link i {
      margin-left: 5px;
      transition: transform 0.3s;
    }

    .related-post-link:hover i {
      transform: translateX(5px);
    }

    .comments-section {
      padding: 60px 0;
    }

    .comments-section h3 {
      margin-bottom: 40px;
      text-align: center;
      font-size: 1.8rem;
    }

    .comment {
      display: flex;
      margin-bottom: 30px;
    }

    .comment-avatar {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      overflow: hidden;
      margin-right: 20px;
      flex-shrink: 0;
    }

    .comment-avatar img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .comment-content {
      flex-grow: 1;
      background: #f8f9fa;
      padding: 20px;
      border-radius: 10px;
    }

    .comment-header {
      display: flex;
      justify-content: space-between;
      margin-bottom: 10px;
    }

    .comment-author {
      font-weight: 600;
      color: #333;
    }

    .comment-date {
      color: #666;
      font-size: 0.9rem;
    }

    .comment-text {
      color: #444;
      line-height: 1.6;
    }

    .comment-reply {
      margin-top: 10px;
      display: inline-block;
      color: #f09516;
      font-weight: 600;
      text-decoration: none;
      font-size: 0.9rem;
    }

    .reply-form {
      margin-left: 80px;
    }

    .comment-form {
      background: #f8f9fa;
      padding: 30px;
      border-radius: 10px;
      margin-top: 60px;
    }

    .comment-form h4 {
      margin-bottom: 20px;
      font-size: 1.4rem;
    }

    @media (max-width: 767px) {
      .blogpost-hero {
        padding: 120px 0 60px;
      }

      .blogpost-hero h1 {
        font-size: 2rem;
      }

      .author-card {
        flex-direction: column;
        text-align: center;
      }

      .author-avatar {
        margin-right: 0;
        margin-bottom: 20px;
      }

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

      .comment {
        flex-direction: column;
      }

      .comment-avatar {
        margin-right: 0;
        margin-bottom: 15px;
      }

      .reply-form {
        margin-left: 20px;
      }
    }

    .blog-section .col-md-6 {
      margin-bottom: 20px;
    }


    /* CONTENEDOR PRINCIPAL */
.vehiculo-accordion {
  border: 0px solid #dee2e6;
  border-radius: .25rem;
  background-color: #fff;
  box-shadow: 0 .125rem .25rem rgba(0,0,0,.075);
  font-size: 14px;
  text-align: left; /* alineación izquierda general */
}

/* ITEM INDIVIDUAL */
.vehiculo-accordion-item + .vehiculo-accordion-item {
  border-top: 0px solid #dee2e6;
}

/* CABECERA DEL BLOQUE */
.vehiculo-accordion-header {
  margin: 0;
  text-align: left;
}

/* BOTÓN DEL TÍTULO DEL BLOQUE */
.vehiculo-accordion-button {
  background: #f8f9fa;
  font-weight: 600;
  font-size: 1.1rem;
  padding: .75rem 1rem;
  width: 100%;
  text-align: left;
  border: none;
  color: #212529;
  cursor: pointer;
  transition: background 0.2s ease;
}

/* TÍTULO COLAPSADO */
.vehiculo-accordion-button.collapsed {
  background: #e9ecef;
  font-weight: 500;
  color: #495057;
}

/* CONTENIDO EXPANDIBLE */
.vehiculo-accordion-collapse {
  display: none;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #343a40;
  text-align: left;
}

/* CONTENIDO ACTIVO */
.vehiculo-accordion-collapse.show {
  display: block;
  padding: 1rem;
  text-align: left;
}

/* BLOQUE JSON */
.json-block {
  font-size: 0.85rem;
  font-family: 'Courier New', Courier, monospace;
  background-color: #f0f0f0;
  padding: 10px;
  border-radius: 4px;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
  color: #212529;
  text-align: left;
}

/* RESPONSIVO */
@media (min-width: 768px) {
  .vehiculo-accordion-button {
    font-size: 1.25rem;
  }

  .vehiculo-accordion-collapse {
    font-size: 1rem;
  }

  .json-block {
    font-size: 0.9rem;
  }
}





   .tabla-wrapper {
      overflow-x: auto;
      background-color: #fff;
      border-radius: 8px;
      box-shadow: 0 0 8px rgba(0,0,0,0.08);
      margin-bottom: 20px;
    }

    .tabla-valores {
      width: 100%;
      min-width: 600px;
      border-collapse: collapse;
      font-size: 0.95em;
    }

    .tabla-valores th,
    .tabla-valores td {
      padding: 10px;
      border: none;
      text-align: left;
      vertical-align: middle;
      white-space: nowrap;
    }

    .tabla-valores tbody tr:nth-child(even) {
      background-color: #f9f9f9;
    }

    .tabla-valores tbody tr:nth-child(odd) {
      background-color: #ffffff;
    }

    .fila-resaltada {
      background-color: #ffe7aa !important;
      font-weight: bold;
      cursor: pointer;
    }

    .fila-resaltada:hover {
      background-color: #ffdc80;
    }

    .seccion {
      background-color: #2c2c2c;
      color: #e6e6e6;
      padding: 16px;
      margin-bottom: 15px;
      border-radius: 6px;
      box-shadow: 0 0 4px rgba(0,0,0,0.25);
    }

    .seccion h3 {
      margin-top: 0;
      font-size: 1em;
      color: #cccccc;
      font-weight: bold;
    }

    .valor-destacado {
      color: #00b4d8;
      font-weight: bold;
    }

    .nota {
      color: #ff6961;
      font-size: 0.9em;
    }

    .lightbox {
      display: none;
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0,0,0,0.6);
      justify-content: center;
      align-items: center;
      z-index: 999;
    }

    .lightbox-content {
      background: white;
      padding: 20px;
      border-radius: 8px;
      max-width: 90%;
      width: 400px;
      text-align: center;
      box-shadow: 0 0 12px rgba(0,0,0,0.3);
    }

    .lightbox-content h2 {
      margin-top: 0;
      color: #333;
    }

    .close-btn {
      margin-top: 15px;
      padding: 8px 16px;
      background: #0033cc;
      color: white;
      border: none;
      border-radius: 4px;
      cursor: pointer;
    }

    .close-btn:hover {
      background: #001f80;
    }


    .contenedor-dolar {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      justify-content: center;
    }

    .bloque {
      width: 100%;
      max-width: 320px;
      background-color: #d0d0d0;
      border-radius: 8px;
      padding: 10px;
      box-sizing: border-box;
    }

    .bloque h2 {
      margin: 0 0 10px 0;
      text-align: center;
      font-size: 1.1em;
      color: #000;
      font-weight: bold; /* Negrita en títulos que dicen "Dólar ..." */
    }

    .tabla-interna {
      width: 100%;
      border-collapse: collapse;
    }

    .tabla-interna td {
      padding: 10px;
      text-align: center;
    }

    .fila-label {
      background-color: #eaeaea;
      font-weight: bold; /* Negrita en "Compra" y "Venta" */
    }

    .fila-valor {
      background-color: #f4f4f4;
    }

    @media (max-width: 600px) {
      .bloque {
        width: 100%;
        max-width: none;
      }
    }
	
  


#modalLogin {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.7);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contenedorLogin {
  background: #1e1e1e;
  color: #f0f0f0;
  padding: 20px;
  width: 320px;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(0,0,0,0.8);
}
.contenedorLogin input,
.contenedorLogin button {
  display: block;
  width: 100%;
  margin-bottom: 12px;
  padding: 10px;
  border-radius: 6px;
  border: none;
}
.contenedorLogin button {
  background: #007bff;
  color: #fff;
  font-weight: bold;
}







#modalLogin {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.7);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify

/* Contenedor central del login */
.contenedorLogin {
  position: relative;
  padding: 24px;
  background: #1b1b1b;
  border-radius: 12px;
  max-width: 400px;
  margin: 80px auto;
  color: #fff;
}

#cerrarLogin {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 24px;
  color: #ccc;
  cursor: pointer;
}

/* Inputs y botón */
.contenedorLogin input[type="email"],
.contenedorLogin input[type="password"],
.contenedorLogin button[type="submit"] {
  width: 100%;
  margin-bottom: 12px;
  padding: 10px;
  border-radius: 6px;
  border: none;
  font-size: 14px;
  box-sizing: border-box;
}

.contenedorLogin button[type="submit"] {
  background: #007bff;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
}

/* Checkbox */
.contenedorLogin label {
  font-size: 14px;
  color: #ccc;
}

/* Enlace a registro */
#linkRegistro {
  color: #c0c0c0;
  text-decoration: none;
  font-size: 14px;
  display: inline-block;
}

#linkRegistro:hover {
  color: #ffffff;
}

/* Mensaje de error */
#msgError {
  color: #d00;
  display: none;
  margin-top: 8px;
  font-size: 13px;
}

.lightbox .cerrar {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  color: #fff; /* O el color que uses sobre fondo oscuro */
}

.lightbox .contenido {
  position: relative;
  padding: 20px 24px 24px 24px;
  border-radius: 8px;
  background-color: #222; /* estilo fondo original */
}

.recordar-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: #ddd; /* color suave sobre fondo oscuro */
  font-size: 15px;
}


.cerrar {
  position: absolute;
  top: 4px;         /* borde superior interno, no fuera del contenedor */
  right: 8px;       /* margen lateral sin romper layout */
  font-size: 20px;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}


.contenedorLogin {
  position: relative;     /* necesario para que .cerrar se posicione internamente */
  padding-top: 28px;      /* si querés dejar espacio visual arriba del título */
}




/* Modal styles */
#modalLogin.modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4);
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
}
#modalLogin .modal-content {
  background: #fff;
  border-radius: 8px;
  padding: 30px 40px;
  min-width: 320px;
  max-width: 400px;
  position: relative;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
#modalLogin .close-btn {
  position: absolute;
  top: 10px; right: 10px;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: #333;
  cursor: pointer;
}
#loginStatusMessage h3 {
  margin-bottom: 10px;
}
#loginStatusMessage .btn {
  margin-top: 12px;
}
#msgError {
  color: #d00;
  font-size: 0.95rem;
  margin-top: 6px;
}

#loginModalOverlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.7);
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
}

#loginModalOverlay.active {
  display: flex !important;
}

.login-modal-container {
  background: #fff;
  border-radius: 10px;
  padding: 32px 28px;
  min-width: 300px;
  max-width: 400px;
  width: 90vw;
  position: relative;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.login-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 2rem;
  background: none;
  border: none;
  color: #333;
  cursor: pointer;
  z-index: 2;
}

.login-modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.login-modal-input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  font-size: 15px;
  box-sizing: border-box;
}

.login-modal-btn {
  width: 100%;
  padding: 11px;
  border-radius: 6px;
  background: var(--primary-color, #007bff);
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 16px;
  margin-top: 7px;
}

.login-modal-error {
  color: #d00;
  font-size: 0.95rem;
  margin-top: 6px;
  text-align: left;
}

.login-modal-status {
  margin-top: 20px;
}

@media (max-width: 480px) {
  .login-modal-container {
    padding: 18px 6vw;
    min-width: 0;
    max-width: 98vw;
  }
}


input.form-control:valid,
input.form-control:invalid {
  background-image: none !important;
  box-shadow: none !important;
}

.form-control:valid {
  box-shadow: none !important;
}

.form-control:invalid {
  box-shadow: none !important;
}

