/* _content/FriendsOfAward/Components/Auth/Login.razor.rz.scp.css */
.wrapper[b-jhe67k0o2y] {
    width: 100vw;
    height: 100vh;
}

form[b-jhe67k0o2y] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    text-align: center;
}

button[b-jhe67k0o2y] {
    width: 100%;
}
/* _content/FriendsOfAward/Components/Layout/AuthSection.razor.rz.scp.css */
.btn-container[b-chcdxl16jx] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
/* _content/FriendsOfAward/Components/Layout/MainLayout.razor.rz.scp.css */
.app-container[b-bsn0o4i227] {
    box-sizing: border-box;
    width: 100vw;
    height: 100vh;
    padding: 0.5rem;
    display: flex;
    background: var(--sidebar);
    overflow: hidden;
}

.content[b-bsn0o4i227] {
    flex: 1;
    padding: 0.5rem;
    overflow-y: auto;
    background: var(--background);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

@media (max-width: 768px) {
    .app-container[b-bsn0o4i227] {
        flex-direction: column;
        padding: 0;
    }

    .content[b-bsn0o4i227] {
        border-radius: 0;
        box-shadow: none;
    }
}
/* _content/FriendsOfAward/Components/Layout/MobileSidebar.razor.rz.scp.css */
.sidebar[b-rmdao3fz3b] {
    width: 14rem;
    height: 100%;
    padding: 0.5rem 0.5rem 0.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.sidebar-header[b-rmdao3fz3b] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    margin-bottom: 1rem;
    position: relative;
}

.mobile-header[b-rmdao3fz3b] {
    display: none;
    align-items: center;
    padding: 0.5rem;
    background: var(--sidebar);
    color: var(--sidebar-foreground);
    gap: 1rem;
}

.hamburger-btn[b-rmdao3fz3b], .close-btn[b-rmdao3fz3b] {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn[b-rmdao3fz3b] {
    display: none;
    position: absolute;
    right: 0;
}

.mobile-title[b-rmdao3fz3b] {
    margin: 0;
    font-weight: 500;
}

.sidebar-overlay[b-rmdao3fz3b] {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
}

@media (max-width: 768px) {
    .mobile-header[b-rmdao3fz3b] {
        display: flex;
    }

    .sidebar[b-rmdao3fz3b] {
        position: fixed;
        top: 0;
        left: -100%;
        width: 16rem;
        height: 100vh;
        background: var(--sidebar);
        z-index: 100;
        transition: left 0.3s ease;
        padding: 1rem;
        box-shadow: var(--shadow);
    }

    .sidebar.open[b-rmdao3fz3b] {
        left: 0;
    }

    .sidebar-overlay[b-rmdao3fz3b] {
        display: block;
    }

    .close-btn[b-rmdao3fz3b] {
        display: flex;
    }
}
/* _content/FriendsOfAward/Components/Pages/Diplomarbeiten.razor.rz.scp.css */
/* _content/FriendsOfAward/Components/Pages/Ergebnisse.razor.rz.scp.css */
/* Ergebnisse table styling
   - sticky header that remains fixed while body scrolls
   - table uses available viewport height but leaves room for the button
   - full-width table with fixed-layout to keep numbers aligned
   - increased vertical spacing and stronger zebra striping
   - supports light/dark via theme variables or prefers-color-scheme
*/

.results-container[b-sq7lm48gtf] {
    background: var(--card);
    color: var(--card-foreground);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.5rem;
    box-shadow: var(--shadow);
    overflow: auto;
    /* Use most of the viewport but keep space below for the button and page padding */
    max-height: calc(100vh - 200px);
    width: 100%;
    margin-bottom: 0.75rem; /* space so the button remains visible */

    /* Ensure z-index on sticky header works reliably */
    isolation: isolate;     
}

/* Use separate border model so we can add vertical spacing between rows */
.results-table[b-sq7lm48gtf] {
    width: 100%;
    table-layout: fixed;        /* prevents cells from resizing while scrolling */
    border-collapse: separate;
    border-spacing: 0 10px;     /* vertical gap between rows */
    font-size: 0.95rem;
    color: var(--card-foreground);
    line-height: 1.5;
    min-width: 720px;           /* avoid extreme squish on very small viewports */
}

/* Header: sticky and visually prominent */
.results-table thead th[b-sq7lm48gtf] {
    position: sticky;
    top: 0;
    z-index: 1000; /* large so header is always above row shadows */
    background: var(--primary);
    color: var(--primary-foreground);
    text-align: left;
    padding: 0.75rem 1rem;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    border-bottom: none;
}

/* Define column proportions (keeps numbers from sliding) */
.results-table thead th:first-child[b-sq7lm48gtf] { width: 6%; min-width: 48px; }
.results-table thead th:nth-child(2)[b-sq7lm48gtf] { width: 54%; } /* title */
.results-table thead th:nth-child(3)[b-sq7lm48gtf] { width: 30%; } /* sch�ler */
.results-table thead th:last-child[b-sq7lm48gtf] { width: 10%; min-width: 80px; text-align: right; }

/* Row cells: better spacing and "card" look */
.results-table tbody tr td[b-sq7lm48gtf] {
    padding: 0.85rem 1rem;
    background-clip: padding-box;
    vertical-align: top;
    /* make sure cells sit below the header in stacking order */
    position: relative;
    z-index: 0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; /* ensure numbers and titles don't wrap into multi-lines */
}

/* Round left/right corners of the "row card" */
.results-table tbody tr td:first-child[b-sq7lm48gtf] {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}
.results-table tbody tr td:last-child[b-sq7lm48gtf] {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    text-align: right;
}

/* Stronger zebra striping for better separation */
.results-table tbody tr:nth-child(odd) td[b-sq7lm48gtf] {
    background-color: rgba(255,255,255,0.02);
}
.results-table tbody tr:nth-child(even) td[b-sq7lm48gtf] {
    background-color: rgba(0,0,0,0.03);
}

/* Dark theme adjustments using data-theme if available, fallback to prefers-color-scheme */
[data-theme="dark"] .results-table thead th[b-sq7lm48gtf],
@media (prefers-color-scheme: dark)[b-sq7lm48gtf] {
    .results-table thead th {
        background: var(--primary);
        color: var(--primary-foreground);
    }
}

[data-theme="dark"] .results-table tbody tr:nth-child(odd) td[b-sq7lm48gtf],
@media (prefers-color-scheme: dark)[b-sq7lm48gtf] {
    .results-table tbody tr:nth-child(odd) td {
        background-color: rgba(255,255,255,0.02);
    }
}

[data-theme="dark"] .results-table tbody tr:nth-child(even) td[b-sq7lm48gtf],
@media (prefers-color-scheme: dark)[b-sq7lm48gtf] {
    .results-table tbody tr:nth-child(even) td {
        background-color: rgba(255,255,255,0.03);
    }
}

/* Total row highlight (if you add class="total-row" in markup) */
.results-table tbody tr.total-row td[b-sq7lm48gtf] {
    font-weight: 700;
    background: rgba(17,110,205,0.08);
}

/* Responsive adjustments: keep header sticky and allow horizontal scroll if needed */
@media (max-width: 900px) {
    .results-container[b-sq7lm48gtf] {
        max-height: calc(100vh - 240px);
    }
    .results-table[b-sq7lm48gtf] {
        min-width: 640px;
        border-spacing: 0 8px;
    }
    .results-table thead th[b-sq7lm48gtf], .results-table tbody tr td[b-sq7lm48gtf] {
        padding: 0.6rem 0.75rem;
        font-size: 0.92rem;
        white-space: nowrap;
    }
}

/* Very small screens: allow wrapping of title, keep numeric column aligned */
@media (max-width: 520px) {
    .results-table thead th:nth-child(2)[b-sq7lm48gtf],
    .results-table tbody tr td:nth-child(2)[b-sq7lm48gtf] {
        white-space: normal;
        word-break: break-word;
    }
    .results-table thead th:last-child[b-sq7lm48gtf],
    .results-table tbody tr td:last-child[b-sq7lm48gtf] {
        text-align: right;
    }
}
/* _content/FriendsOfAward/Components/Pages/Home.razor.rz.scp.css */
#blur-ball[b-cmyol00gad] {
    z-index: 1;
    position: fixed;
    border-radius: 100%;
    height: 500px;
    width: 500px;
    background: #1264ff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(130px);
}

#wrapper[b-cmyol00gad] {
    z-index: 0;
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #121314;
}

#content[b-cmyol00gad] {
    z-index: 10;
    color: white;
    margin: auto;
    max-width: 600px;
/*    height: 700px;*/
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 32px;
    background: #212325;
    border: 1px solid #ffffff1c;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
}

#title[b-cmyol00gad] {
    margin-top: 1rem;
    width: 100%;
    text-align: center;
    font-size: 2rem;
    font-family: "Geist", sans-serif;
    font-weight: bold;
}

#note[b-cmyol00gad] {
    width: 100%;
    text-align: center;
    opacity: 0.8;
}

#grid[b-cmyol00gad] {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
}

.grid-btn[b-cmyol00gad] {
    width: 100%;
    height: 40px;
    background: #2c2e31;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition-duration: 0.3s;
    outline: 1px solid transparent;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

    .grid-btn:hover[b-cmyol00gad] {
        transform: scale(1.02);
        outline: 1px solid rgb(255 255 255 / 20%);
    }

    .grid-btn.favorite[b-cmyol00gad] {
        background: green;
    }

    .grid-btn.topfavorite[b-cmyol00gad] {
        background: gold;
    }

#select-btn-container[b-cmyol00gad] {
    display: flex;
    gap: 0.4rem;
}

.select-btn[b-cmyol00gad] {
    padding: 10px;
    border-radius: 25px;
    color: white;
    background: #2c2e31;
    font-family: "Geist", sans-serif;
    cursor: pointer;
    border: none;
    outline: none;
    transition-duration: 0.2s;
}

    .select-btn:hover[b-cmyol00gad] {
        background: #116ecd;
        transform: scale(1.035);
    }

    .select-btn:active[b-cmyol00gad] {
        transform: scale(1);
    }

    .select-btn.highlight[b-cmyol00gad] {
        background: #116ecd;
    }

#submit-btn[b-cmyol00gad] {
    width: 100%;
    height: 60px;
    border-radius: 30px;
    color: white;
    font-family: "Geist", sans-serif;
    font-size: 1.1rem;
    background: #116ecd;
    cursor: pointer;
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
    transition-duration: 0.3s;
}

    #submit-btn[b-cmyol00gad]:before {
        content: '';
        position: absolute;
        width: 100px;
        height: 100%;
        background-image: linear-gradient(120deg,rgba(255, 18, 18, 0) 0%, rgba(179, 244, 255, 0.1) 50%, rgba(255, 18, 18, 0) 100%);
        top: 0;
        left: -100px;
    }

    #submit-btn:hover[b-cmyol00gad] {
        transform: scale(1.01);
    }

    #submit-btn:hover[b-cmyol00gad]::before {
        animation: shine-b-cmyol00gad 3s ease-in-out;
    }

    #submit-btn:active[b-cmyol00gad] {
        transform: scale(1);
    }

@keyframes shine-b-cmyol00gad {
    0% {
        left: -100px
    }

    20% {
        left: 100%
    }

    100% {
        left: 100%
    }
}

@media (max-width: 480px) {
    #wrapper[b-cmyol00gad] {
/*        overflow-y: hidden;*/
        height: 100vh;
/*        width: 100vw;*/
    }
    #content[b-cmyol00gad] {
        height: 100%;
        width: 100%;
        border: none;
        border-radius: 0;
        margin: 0;
        background: transparent;
    }
    #blur-ball[b-cmyol00gad] {
        opacity: 20%;
    }
}

/*admin login button*/
.admin-btn[b-cmyol00gad] {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    background: none;
    border: none;
    width: 1.6rem;
    height: 1.6rem;
    opacity: 80%;
    cursor: pointer;
}

    .admin-btn > svg[b-cmyol00gad] {
        fill: white;
    }
/* _content/FriendsOfAward/Components/Pages/Teilnehmer.razor.rz.scp.css */
.input-container[b-jjw87fb1yd] {
    display: grid;
    gap: 5px;
}

/* Basis-Label */
.form-label[b-jjw87fb1yd] {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    transition: color 0.3s ease;
}

.errorMessage[b-jjw87fb1yd] {
        color: #d32f2f; /* kräftiges Rot */
        font-weight: 600;
        background: #fdecea; /* hellroter Hintergrund */
        padding: 12px 16px;
        border-radius: 6px;
        position: relative; /* wichtig für ::after */
        margin: 30px 0;
        margin-left: 30px;

}
/* Box mit ::after */
.errorMessage[b-jjw87fb1yd]::after {
            content: ""; /* erzeugt das Pseudoelement */
            position: absolute;
            top: -4px;
            left: -4px;
            right: -4px;
            bottom: -4px;
            border: 2px solid #d32f2f; /* rote Umrandung */
            border-radius: 8px;
            pointer-events: none; /* klickt nicht mit */
        }
/* _content/FriendsOfAward/Components/UI/Components/ConfirmationModal.razor.rz.scp.css */
.modal-overlay[b-umxnm6mmin] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-box[b-umxnm6mmin] {
    width: 420px;
    color: white;
    background: #2c2e31;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    animation: fadeIn-b-umxnm6mmin 0.2s ease-out;
}

.modal-header.warning[b-umxnm6mmin] {
    background: #1264ff;
    color: white;
    padding: 16px;
    font-weight: 500;
    text-align: center;
    font-size: 18px;
}

.modal-body[b-umxnm6mmin] {
    padding: 20px;
    font-size: 16px;
}

.modal-footer[b-umxnm6mmin] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px;
}

.btn-yes[b-umxnm6mmin] {
    background: #116ecd;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

.btn-no[b-umxnm6mmin] {
    background: #3c3c3c;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
}

.btn-yes:hover[b-umxnm6mmin] {
    transform: scale(1.02);
    outline: 1px solid rgb(255 255 255 / 20%);
}

.btn-no:hover[b-umxnm6mmin] {
    transform: scale(1.02);
    outline: 1px solid rgb(255 255 255 / 20%);
}

@keyframes fadeIn-b-umxnm6mmin {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}
