/* /Layout/MainLayout.razor.rz.scp.css */

.page[b-1ww1yxgxtv] {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main[b-1ww1yxgxtv] {
    flex: 1;
    min-width: 0;
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-iqhhz0a961] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-iqhhz0a961] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-iqhhz0a961] {
    font-size: 1.1rem;
}

.bi[b-iqhhz0a961] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-iqhhz0a961] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-iqhhz0a961] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-iqhhz0a961] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-iqhhz0a961] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-iqhhz0a961] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-iqhhz0a961] {
        padding-bottom: 1rem;
    }

    .nav-item[b-iqhhz0a961]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-iqhhz0a961]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-iqhhz0a961]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-iqhhz0a961] {
        display: none;
    }

    .collapse[b-iqhhz0a961] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-iqhhz0a961] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/Home.razor.rz.scp.css */


/* Main page */

.home-shell[b-3if0ebi57q] {
    min-height: 100vh;
    background: #f3f7fc;
    color: #1e293b;
    font-family: "Segoe UI", Arial, sans-serif;
    padding: 24px 16px 40px;
}

    .home-shell *[b-3if0ebi57q] {
        box-sizing: border-box;
    }

.home-container[b-3if0ebi57q] {
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
}

/* Header */

.app-header[b-3if0ebi57q] {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.brand-mark[b-3if0ebi57q] {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2563eb;
    color: white;
    border-radius: 14px;
    font-size: 30px;
    font-weight: 600;
}


    .brand-mark svg[b-3if0ebi57q] {
        display: block;
        width: 30px;
        height: 30px;
    }


.app-header h1[b-3if0ebi57q] {
    margin: 0;
    font-size: 27px;
    font-weight: 700;
    color: #172b4d;
}

.app-header p[b-3if0ebi57q] {
    margin: 4px 0 0;
    font-size: 13px;
    color: #64748b;
}

/* Main panel */

.worksheet-panel[b-3if0ebi57q] {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 22px 18px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
}

.panel-heading h2[b-3if0ebi57q] {
    margin: 0 0 8px;
    font-size: 21px;
    font-weight: 700;
}

.panel-heading p[b-3if0ebi57q] {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

/* Exercise type selection */

.mode-switch[b-3if0ebi57q] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 24px 0;
    padding: 5px;
    background: #f1f5f9;
    border-radius: 12px;
}

.mode-tab[b-3if0ebi57q] {
    min-width: 0;
    min-height: 48px;
    padding: 10px 6px;
    background: transparent;
    color: #475569;
    border: none;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

    .mode-tab.active[b-3if0ebi57q] {
        background: #2563eb;
        color: white;
        box-shadow: 0 2px 7px rgba(37, 99, 235, 0.2);
    }

    .mode-tab:not(.active):hover[b-3if0ebi57q] {
        background: #e2e8f0;
    }

/* Form layout */

.form-content h3[b-3if0ebi57q] {
    margin: 0 0 22px;
    font-size: 18px;
    font-weight: 650;
}

.fields-grid[b-3if0ebi57q] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.field[b-3if0ebi57q],
.field-group[b-3if0ebi57q] {
    margin-bottom: 22px;
}

    .field label[b-3if0ebi57q],
    .field-label[b-3if0ebi57q] {
        display: block;
        margin-bottom: 9px;
        font-size: 14px;
        font-weight: 600;
    }

    .field input[b-3if0ebi57q] {
        display: block;
        width: 100%;
        min-height: 46px;
        padding: 10px 12px;
        border: 1px solid #cbd5e1;
        border-radius: 9px;
        background: white;
        color: #1e293b;
        font-size: 16px;
        outline: none;
        transition: border-color 0.2s, box-shadow 0.2s;
    }

        .field input:focus[b-3if0ebi57q] {
            border-color: #2563eb;
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
        }

    .field small[b-3if0ebi57q] {
        display: block;
        margin-top: 7px;
        color: #64748b;
        font-size: 12px;
    }

/* Basic operations */

.operation-options[b-3if0ebi57q] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
}

.choice[b-3if0ebi57q] {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    cursor: pointer;
}

    .choice input[b-3if0ebi57q],
    .table-option input[b-3if0ebi57q] {
        width: 18px;
        height: 18px;
        accent-color: #2563eb;
        cursor: pointer;
    }

/* Multiplication tables */

.tables-grid[b-3if0ebi57q] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.table-option[b-3if0ebi57q] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 12px 4px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
}

    .table-option:hover[b-3if0ebi57q] {
        background: #eff6ff;
        border-color: #93c5fd;
    }

/* Generate button */

.download-section[b-3if0ebi57q] {
    padding-top: 22px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.download-button[b-3if0ebi57q] {
    width: 100%;
    min-height: 50px;
    padding: 12px 20px;
    background: #2563eb;
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    font-weight: 600;
}

    .download-button:disabled[b-3if0ebi57q] {
        opacity: 0.55;
        cursor: not-allowed;
    }

.download-section p[b-3if0ebi57q] {
    margin: 12px 0 0;
    color: #64748b;
    font-size: 12px;
}

/* Status messages - all screen sizes */

.validation-error[b-3if0ebi57q] {
    color: #dc2626 !important;
    font-weight: 500;
}

.ready-message[b-3if0ebi57q] {
    color: #15803d !important;
    font-weight: 500;
}

.info-message[b-3if0ebi57q] {
    color: #2563eb !important;
    font-weight: 500;
}

/* Footer */

.app-footer[b-3if0ebi57q] {
    margin-top: 24px;
    color: #94a3b8;
    font-size: 12px;
    text-align: center;
}

/* Tablet layout */

@media (min-width: 640px) {
    .home-shell[b-3if0ebi57q] {
        padding: 44px 28px 60px;
    }

    .worksheet-panel[b-3if0ebi57q] {
        padding: 32px;
    }

    .fields-grid[b-3if0ebi57q] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .app-header h1[b-3if0ebi57q] {
        font-size: 32px;
    }
}

/* Desktop layout */

@media (min-width: 1024px) {
    .home-shell[b-3if0ebi57q] {
        padding-top: 60px;
    }

    .worksheet-panel[b-3if0ebi57q] {
        padding: 38px 42px;
    }

    /* Enabled button */

    .download-button:not(:disabled)[b-3if0ebi57q] {
        cursor: pointer;
        transition: background-color 0.2s, transform 0.2s;
    }

        .download-button:not(:disabled):hover[b-3if0ebi57q] {
            background: #1d4ed8;
        }

    .download-button:focus-visible[b-3if0ebi57q],
    .mode-tab:focus-visible[b-3if0ebi57q] {
        outline: 3px solid #93c5fd;
        outline-offset: 3px;
    }
}
