html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5I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I2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}


.register-container {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f6f7fb;
}



.register-page {
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f6f7fb;
}

.register-card {
    width: 380px;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}


.title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 5px;
}

.subtitle {
    font-size: 13px;
    color: #777;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 5px;
    display: block;
}

.form-control {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    outline: none;
}

.form-control:focus {
    border-color: #4f46e5;
}

.btn-primary {
    width: 100%;
    padding: 10px;
    background: #4f46e5;
    border: none;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
}

.btn-primary:disabled {
    background: #a5a5a5;
    cursor: not-allowed;
}

.error {
    margin-top: 10px;
    color: #dc2626;
    font-size: 13px;
}

.success {
    margin-top: 10px;
    color: #16a34a;
    font-size: 13px;
}


.hero {
    padding: 100px 20px;
    text-align: center;
    background: linear-gradient(135deg, #f6f7fb, #eef1f7);
}

.hero-content {
    max-width: 700px;
    margin: auto;
}

.hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero p {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 25px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.btn-primary {
    background: #4f46e5;
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
}

.btn-secondary {
    background: white;
    border: 1px solid #ddd;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
}

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 60px 20px;
    max-width: 900px;
    margin: auto;
}

.feature {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.cta {
    text-align: center;
    padding: 80px 20px;
    background: #f9fafb;
}


.screenshots-section {
    padding: 80px 20px;
    text-align: center;
    background: #ffffff;
}

.screenshots-section h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.screenshots-section p {
    color: #6b7280;
    margin-bottom: 40px;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: auto;
}

.shot {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    height: 180px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.zoom-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: center;
    transition: transform 0.2s ease;
    cursor: zoom-in;
}

.shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    transform-origin: center;
}

/* zoom controlado */
.shot:hover img {
    transform: scale(1.2);
}


.shot span {
    display: block;
    padding: 10px;
    font-size: 13px;
    color: #374151;
}





.pricing-page {
    padding: 80px 20px;
    background: #f6f7fb;
    min-height: 100vh;
    text-align: center;
}

.pricing-header h1 {
    font-size: 32px;
    font-weight: 700;
}

.pricing-header p {
    color: #6b7280;
    margin-bottom: 40px;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.plan {
    width: 280px;
    background: white;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: left;
    position: relative;
}

.plan h2 {
    font-size: 28px;
    margin: 10px 0;
}

.plan ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.plan ul li {
    margin-bottom: 8px;
    font-size: 14px;
}

.highlight {
    border: 2px solid #4f46e5;
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #4f46e5;
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 8px;
}

.btn-primary {
    display: block;
    background: #4f46e5;
    color: white;
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
}

.btn-outline {
    display: block;
    border: 1px solid #ddd;
    color: #333;
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
}




.onboarding-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f6f7fb;
}

.onboarding-card {
    width: 420px;
    background: white;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
}

.steps {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    text-align: left;
}

.steps li {
    padding: 8px 0;
    color: #9ca3af;
}

.steps li.done {
    color: #16a34a;
    font-weight: 500;
}

.success {
    color: #16a34a;
    font-size: 18px;
    margin: 20px 0;
}

.secondary{
    color: gray;
    font-size: 18px;
    margin: 20px 0;
}

.pos-btn {
    background: #4f46e5;
    color: white;
    padding: 10px;
    border-radius: 8px;
    border: none;
    width: 100%;
    cursor: pointer;
}




.pos-container {
    max-width: 1000px;
    margin: auto;
    padding: 30px;
    font-family: system-ui, sans-serif;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.muted {
    color: #6b7280;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.card.highlight {
    border: 2px solid #3b82f6;
}

.card.danger {
    border: 2px solid #ef4444;
}

.actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}




.badge {
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
}

.badge.success {
    background: #dcfce7;
    color: #16a34a;
}

.center {
    text-align: center;
    margin-top: 80px;
}

.spinner {
    width: 30px;
    height: 30px;
    border: 3px solid #ddd;
    border-top: 3px solid #2563eb;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: auto;
}

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




.pos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}




.features-hero {
    text-align: center;
    padding: 80px 20px 40px;
    max-width: 900px;
    margin: 0 auto;
}

.features-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #111827;
}

.features-hero p {
    font-size: 1.2rem;
    color: #6b7280;
    line-height: 1.6;
}

/* ===== Feature sections ===== */

.feature-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding: 80px 10%;
}

.feature-section.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-text h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #111827;
}

.feature-text p {
    font-size: 1.1rem;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 10px;
}

/* Imagen */
.feature-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.feature-image img {
    width: 100%;
    max-width: 450px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    transition: transform 0.3s ease;
}

.feature-image img:hover {
    transform: scale(1.03);
}

/* ===== Comparison section ===== */

.comparison {
    padding: 100px 10%;
    text-align: center;
    background: #f9fafb;
}

.comparison h2 {
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #111827;
}

.comparison-table {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.comparison-table .col {
    background: white;
    padding: 30px;
    border-radius: 16px;
    width: 320px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.comparison-table .col h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.comparison-table ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.comparison-table li {
    margin-bottom: 12px;
    font-size: 1rem;
    color: #4b5563;
}

.comparison-table .highlight {
    border: 2px solid #4f46e5;
}

/* ===== CTA ===== */



.cta h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.cta p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 25px;
}

.btn-primary {
    background: white;
    color: #4f46e5;
    padding: 12px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: #f3f4f6;
}

/* ===== Responsive ===== */

@media (max-width: 900px) {
    .feature-section {
        flex-direction: column;
        text-align: center;
        padding: 60px 20px;
    }

    .feature-section.reverse {
        flex-direction: column;
    }

    .feature-image img {
        max-width: 100%;
    }

    .comparison-table {
        flex-direction: column;
        align-items: center;
    }
}


.how-hero {
    text-align: center;
    padding: 80px 20px 40px;
    max-width: 800px;
    margin: 0 auto;
}

.how-hero h1 {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.how-hero p {
    font-size: 1.2rem;
    color: #6b7280;
}

/* STEPS */

.steps {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.step {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.step-number {
    width: 45px;
    height: 45px;
    background: #4f46e5;
    color: white;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-content h2 {
    margin: 0 0 8px;
    font-size: 1.4rem;
}

.step-content p {
    margin: 0;
    color: #4b5563;
    line-height: 1.6;
}

/* CTA */

.how-cta {
    text-align: center;
    padding: 80px 20px;
    background: #f9fafb;
}

.how-cta h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.how-cta p {
    color: #6b7280;
    margin-bottom: 20px;
}



.submenu-link {
    font-size: 0.95rem;
    border-radius: 12px;
    padding: 10px 14px;
    transition: all 0.2s ease;
}

.submenu-link:hover {
    background-color: rgba(255,255,255,0.08);
}

.submenu-link.active {
    background-color: rgba(13,110,253,0.15);
    color: #0d6efd !important;
}