/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
}

.logo img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    margin-right: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #3B82F6;
}

.cta-button {
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
    color: white;
    padding: 0.8rem 1.8rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.login-button {
  padding: 8px 16px;
  border: 2px solid #2563eb;
  border-radius: 8px;
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.login-button:hover {
  background-color: #2563eb;
  color: #fff;
}


/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 20s linear infinite;
}

@keyframes float {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    padding-top: 100px;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-text .highlight {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 1rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: white;
    color: #1D4ED8;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 1.1rem;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 1.1rem;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
    background: white;
    color: #1D4ED8;
}

/* Phone Mockup with Real Screenshot - Fixed Border */
.hero-image {
    position: relative;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: #1a1a1a;
    border-radius: 30px;
    padding: 12px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    animation: phoneFloat 6s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 18px;
    /* Esto es clave para que respete los bordes redondeados */
    clip-path: inset(0 round 18px);
}


.phone-mockupCard {
    width: 280px;
    height: 540px; /* Set a fixed height based on a 9/19 aspect ratio */
    background: #1a1a1a;
    border-radius: 30px;
    padding: 12px;
    margin: 20px auto;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    /* Flexbox properties to center the content */
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-screenshotCard {
    /* The video will now scale to fit within the container */
    max-width: 100%;
    max-height: 100%;
    /* No need for object-fit if the element itself is scaled */
    border-radius: 18px;
}
/* Features Section */
.features {
    padding: 8rem 0;
    background: #f8f9ff;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.feature-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    padding: 8rem 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: #f8f9ff;
    padding: 2rem;
    border-radius: 20px;
    border-left: 4px solid #3B82F6;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    color: #555;
}

.testimonial-author {
    font-weight: 600;
    color: #1D4ED8;
}

/* Download Section */
.download-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
    color: white;
    text-align: center;
}

.download-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.download-content p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.download-btn {
    transition: transform 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-5px);
}

.store-badge {
    height: 60px;
    width: auto;
}

.coming-soon {
    opacity: 0.8;
}

/* Footer */
footer {
    background: #333;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #3B82F6;
    margin-bottom: 1rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #3B82F6;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 2rem;
    text-align: center;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .phone-mockup {
        width: 250px;
        height: 500px;
    }

    .section-title {
        font-size: 2rem;
    }

    .nav-links {
        display: none;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .phone-mockup {
        width: 220px;
        height: 440px;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }
}

/* Modal estilo */
/* Fondo del modal */
.modal {
  display: none; /* oculto por defecto */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  overflow: auto;
}

/* Contenedor del contenido (imagen o video) */
.modal-content {
  max-width: 90%;
  max-height: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Imagen dentro del modal */
.modal-content img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Video dentro del modal */
.modal-content video {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Cerrar modal */
.modal .close {
  position: absolute;
  top: 15px;
  right: 25px;
  color: white;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
}

/* Caption debajo del contenido */
#caption {
  margin-top: 10px;
  color: white;
  text-align: center;
  font-size: 18px;
}

.feature-card {
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.view-screenshot {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #0073e6;
  font-weight: 500;
  text-align: center;
}

.feature-card:hover .view-screenshot {
  text-decoration: underline;
}

.feature-video {
  width: 100%;
  max-height: 500px; /* ajusta según el diseño */
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 10px;
}

.feature-video video,
.feature-video img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* cubre todo el contenedor sin deformarse */
  display: block;
}



.carousel-indicators {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 25;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.9);
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.carousel-nav-btn {
    /* Style for the buttons themselves */
    background-color: rgba(255, 255, 255, 0.7); /* A translucent white */
    color: #333;
    font-size: 24px;
    font-weight: bold;
    border: none;
    border-radius: 50%; /* Make them circular */
    width: 40px; /* Set a fixed width and height to ensure they're perfect circles */
    height: 40px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.carousel-nav-btn:hover {
    background-color: #fff; /* A more solid white on hover */
    color: #007bff; /* A color that matches your brand (e.g., blue) */
}

.carousel-nav-btn.prev-btn {
    left: 10px; /* Position the "previous" button on the left */
}

.carousel-nav-btn.next-btn {
    right: 10px; /* Position the "next" button on the right */
}
/* Cabecera general */
header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Logo y nombre juntos */
header nav .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Botón CTA */
header nav .cta-button {
    background-color: #ff6600;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
}

/* Media query para móviles y phablets */
@media (max-width: 1024px) {
    header nav {
        flex-direction: column; /* organiza todo vertical */
        align-items: center;    /* centrado horizontal */
        gap: 0.5rem;
    }

    /* Logo y nombre centrados en la primera línea */
    header nav .logo {
        width: auto;
        order: 1;
    }

    /* Botón de descargar justo debajo del logo */
    header nav .cta-button {
        width: auto;
        order: 2;
        margin-top: 0.5rem;
    }

    /* Navegación debajo, centrada */
    header nav .nav-links {
        order: 3;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        margin-top: 0.5rem;
        width: 100%;
    }
}

@media (max-width: 1024px) {
    .hero {
        padding-top: 120px; /* ajusta según el tamaño real del header */
    }
}

/* Sección de precios */
.pricing {
    padding: 4rem 0;
    background-color: #f9f9f9;
    text-align: center;
}

.pricing .pricing-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.pricing-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 2rem;
    width: 250px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.pricing-card .feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.pricing-card .price {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 1rem 0;
}

/* Responsive */
@media (max-width: 768px) {
    .pricing .pricing-grid {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        width: 80%;
        margin-bottom: 1.5rem;
    }
}

.modalnotasOverlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modalnotasContainer {
  background: #fff;
  padding: 30px 25px;
  border-radius: 16px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  animation: fadeIn 0.3s ease;
}

.modalnotasTitle {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 20px;
}

.modalnotasForm {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modalnotasForm input {
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
  transition: border 0.2s ease;
}

.modalnotasForm input:focus {
  border-color: #2563eb;
}

.modalnotasAcceptButton {
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.modalnotasAcceptButton:hover {
  background: #1d4ed8;
}

.modalnotasCancelButton {
  background: #e5e7eb;
  color: #111827;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-weight: 600;
  margin-top: 12px;
  cursor: pointer;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* =================================
   MODAL DE LOGIN MODERNO
   ================================= */

.modalnotasOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modalnotasContainer {
    background: white;
    border-radius: 24px;
    padding: 48px;
    max-width: 440px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modalnotasHeader {
    text-align: center;
    margin-bottom: 40px;
}

.modalnotasIcon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
}

.modalnotasTitle {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    text-align: center;
}

.modalnotasSubtitle {
    font-size: 15px;
    color: #666;
    text-align: center;
}

.modalnotasForm {
    margin-bottom: 24px;
}

.inputGroup {
    margin-bottom: 24px;
    position: relative;
}

.inputLabel {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.inputWrapper {
    position: relative;
}

.inputIcon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #999;
    pointer-events: none;
}

.modalnotasForm input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fafafa;
    font-family: inherit;
}

.modalnotasForm input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.modalnotasForm input::placeholder {
    color: #aaa;
}

.forgotPassword {
    text-align: right;
    margin-bottom: 24px;
}

.forgotPassword a {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.forgotPassword a:hover {
    color: #764ba2;
}

.modalnotasAcceptButton {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.modalnotasAcceptButton:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

.modalnotasAcceptButton:active {
    transform: translateY(0);
}

.modalnotasAcceptButton:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.modalnotasCancelButton {
    width: 100%;
    padding: 14px;
    background: #f5f5f5;
    color: #666;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    margin-top: 12px;
}

.modalnotasCancelButton:hover {
    background: #e5e5e5;
}

.loader {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.errorMessage {
    background: #fee;
    color: #c33;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 20px;
    display: none;
    border-left: 4px solid #c33;
    animation: shake 0.4s ease;
}

.errorMessage.show {
    display: block;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    75% { transform: translateX(8px); }
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 32px 0;
    color: #999;
    font-size: 14px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e5e5e5;
}

.divider span {
    padding: 0 16px;
}

.socialButtons {
    display: flex;
    gap: 12px;
}

.socialButton {
    flex: 1;
    padding: 12px;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.socialButton:hover {
    border-color: #667eea;
    background: #f8f9ff;
}

.closeButton {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #f5f5f5;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 20px;
    color: #666;
}

.closeButton:hover {
    background: #e5e5e5;
    transform: rotate(90deg);
}

/* Responsive */
@media (max-width: 480px) {
    .modalnotasContainer {
        padding: 32px 24px;
    }

    .modalnotasTitle {
        font-size: 24px;
    }
}

.ingredients-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  height: 60vh;
}

.available-ingredients, .recipe-ingredients {
  background: #f7fafc;
  border-radius: 12px;
  padding: 1rem;
  overflow-y: auto;
}

.available-ingredients {
  display: flex;
  flex-direction: column;
}

.available-ingredients input {
  margin-bottom: 1rem;
  border-radius: 8px;
  border: 2px solid #e2e8f0;
  padding: 0.5rem;
  font-size: 1rem;
}

#availableList {
  flex: 1;
  overflow-y: auto;
}

.available-item {
  background: white;
  margin-bottom: 0.5rem;
  border-radius: 8px;
  padding: 0.75rem;
  cursor: grab;
  transition: background 0.2s;
}

.available-item:hover {
  background: #edf2f7;
}

.recipe-ingredients {
  border: 2px dashed #cbd5e0;
  min-height: 100%;
}

@media (max-width: 1200px) {
  #loginBtn {
    display: none !important;
  }
}
/* Estilos adicionales para el modal de autenticación */

/* Pestañas de Login/Registro */
.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border-radius: 12px;
  background: #f5f5f5;
  padding: 4px;
}

.auth-tab {
  flex: 1;
  padding: 12px 24px;
  border: none;
  background: transparent;
  color: #666;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.auth-tab:hover {
  color: #333;
  background: rgba(255, 255, 255, 0.5);
}

.auth-tab.active {
  background: white;
  color: #4CAF50;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Mensajes de error y éxito */
.errorMessage,
.successMessage {
  display: none;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.5;
  animation: slideDown 0.3s ease;
}

.errorMessage {
  background-color: #fee;
  color: #c33;
  border: 1px solid #fcc;
}

.successMessage {
  background-color: #efe;
  color: #3c3;
  border: 1px solid #cfc;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Banner informativo */
.info-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 20px;
  border-left: 4px solid #2196F3;
}

.info-icon {
  font-size: 24px;
  flex-shrink: 0;
  line-height: 1;
}

.info-banner p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}

.info-banner strong {
  color: #1976D2;
  font-weight: 600;
}

/* Grupo de checkbox */
.checkbox-group {
  margin-top: 16px;
  margin-bottom: 20px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #4CAF50;
}

.checkbox-label a {
  color: #4CAF50;
  text-decoration: none;
  font-weight: 500;
}

.checkbox-label a:hover {
  text-decoration: underline;
}

/* Ajustes para el formulario de registro */
#registerForm .inputGroup {
  margin-bottom: 16px;
}

/* Mejoras visuales para inputs */
.inputWrapper input:focus {
  border-color: #4CAF50;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.inputWrapper input:invalid:not(:placeholder-shown) {
  border-color: #f44336;
}

.inputWrapper input:valid:not(:placeholder-shown) {
  border-color: #4CAF50;
}

/* Estados del botón */
.modalnotasAcceptButton:disabled {
  background: #ccc;
  cursor: not-allowed;
  opacity: 0.6;
}

.modalnotasAcceptButton:not(:disabled):hover {
  background: linear-gradient(135deg, #43A047 0%, #66BB6A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.modalnotasAcceptButton:not(:disabled):active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(76, 175, 80, 0.3);
}

/* Animación de carga */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.modalnotasAcceptButton:disabled::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

/* Responsive */
@media (max-width: 480px) {
  .auth-tab {
    padding: 10px 16px;
    font-size: 14px;
  }
  
  .info-banner {
    padding: 12px;
  }
  
  .info-banner p {
    font-size: 13px;
  }
  
  .checkbox-label {
    font-size: 13px;
  }
}

/* Transición suave entre formularios */
.modalnotasForm {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
