﻿﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&display=swap');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.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 {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    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;
    }

.matrix {
    border-left: 2px solid white;
    border-right: 2px solid white;
    border-collapse: collapse;
    margin: 10px;
    display: inline-table;   /* inline-grid works best so far */
}

    .matrix td {
        border: none; /* Remove interior borders */
        padding: 6px 10px; /* Optional spacing */
        text-align: center;
    }

.centered-matrix-symbol {
    display: inline-block;
    vertical-align: -10px; /* or try: -3px, -6px, etc. */
}

.matrix-input {
    margin: 0 auto; /* Center the table */
    border-collapse: collapse;
    text-align: center;
}

    .matrix-input td {
        padding: 4px;
    }

.matrix-cell {
    width: 48px;
    height: 48px;
    text-align: center;
    font-size: 1.2rem;
    border: 1px solid #444;
    border-radius: 6px;
    background-color: #111;
    color: #eee;
    transition: box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

    /* Glow effect when active */
    .matrix-cell:focus {
        outline: none;
        border-color: #00eaff;
        box-shadow: 0 0 8px #00eaff, 0 0 16px #00eaff;
        background-color: #0a1a1f;
    }