/* ========================================
   RESET
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    font-family:
        Inter,
        Segoe UI,
        sans-serif;
}

/* ========================================
   LOGIN PAGE
======================================== */

.login-page {

    min-height: 100vh;

    display: flex;

    flex-direction: column;

    background:
        radial-gradient(circle at center,
            #0f172a 0%,
            #020617 100%);

    overflow: hidden;

    position: relative;
}

/* ========================================
   GRID
======================================== */

.login-page::before {

    content: '';

    position: absolute;

    inset: 0;

    background-image:

        linear-gradient(rgba(255, 255, 255, .025) 1px,
            transparent 1px),

        linear-gradient(90deg,
            rgba(255, 255, 255, .025) 1px,
            transparent 1px);

    background-size:
        70px 70px;

    pointer-events: none;
}

/* ========================================
   LICHTSTRAHLEN
======================================== */

.login-page::after {

    content: '';

    position: absolute;

    inset: 0;

    background:

        radial-gradient(circle at 50% -10%,
            rgba(59, 130, 246, .18),
            transparent 40%),

        radial-gradient(circle at 80% 50%,
            rgba(139, 92, 246, .10),
            transparent 40%);

    pointer-events: none;
}

/* ========================================
   LOGIN BOX
======================================== */

.login-box {

    width: 450px;

    padding: 50px;

    margin: auto;

    position: relative;

    z-index: 5;

    border-radius: 28px;

    background:
        rgba(15, 23, 42, .75);

    backdrop-filter:
        blur(20px);

    border:
        1px solid rgba(255, 255, 255, .08);

    box-shadow:
        0 0 0 1px rgba(255, 255, 255, .04),
        0 25px 50px rgba(0, 0, 0, .55);

    animation:
        fadeIn .8s ease;
}

@keyframes fadeIn {

    from {

        opacity: 0;

        transform:
            translateY(20px);
    }

    to {

        opacity: 1;

        transform:
            translateY(0);
    }
}

/* ========================================
   LOGO
======================================== */

.logo-container {

    text-align: center;

    margin-bottom: 35px;
}

.login-box h1 {

    color: white;

    font-size: 38px;

    font-weight: 800;

    margin-bottom: 10px;

    letter-spacing: -1px;
}

.login-subtitle {

    color:
        rgba(255, 255, 255, .55);

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: 3px;
}

/* ========================================
   INPUTS
======================================== */

.login-box input {

    width: 100%;

    padding: 18px;

    margin-bottom: 18px;

    border-radius: 14px;

    border:
        1px solid rgba(255, 255, 255, .08);

    background:
        rgba(255, 255, 255, .03);

    color: white;

    font-size: 15px;

    outline: none;

    transition: .25s;
}

.login-box input::placeholder {

    color:
        rgba(255, 255, 255, .4);
}

.login-box input:focus {

    border-color:
        rgba(59, 130, 246, .6);

    background:
        rgba(255, 255, 255, .05);

    box-shadow:
        0 0 20px rgba(59, 130, 246, .15);
}

/* ========================================
   BUTTON
======================================== */

.login-box button {

    width: 100%;

    padding: 18px;

    border: none;

    border-radius: 14px;

    cursor: pointer;

    color: white;

    font-size: 15px;

    font-weight: 700;

    background:

        linear-gradient(135deg,
            #3b82f6,
            #6366f1);

    transition: .25s;
}

.login-box button:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 12px 30px rgba(59, 130, 246, .25);
}

.login-box button:active {

    transform:
        scale(.98);
}

/* ========================================
   ERROR
======================================== */

.error-box {

    margin-bottom: 18px;

    padding: 14px;

    border-radius: 12px;

    color: #fecaca;

    background:
        rgba(239, 68, 68, .15);

    border:
        1px solid rgba(239, 68, 68, .25);
}

/* ========================================
   MOBILE
======================================== */

@media(max-width:600px) {

    .login-box {

        width: 92%;

        padding: 35px;
    }

    .login-box h1 {

        font-size: 30px;
    }
}



/*
########################################################
DASHBOARD
########################################################
*/

body:not(.login-page) {

    background:
        #0f172a;

    background-image:

        radial-gradient(circle at top,
            #243244 0%,
            #172235 35%,
            #0f172a 100%);

    background-attachment: fixed;

    color: white;

    min-height: 100vh;
}

/* ========================================
   GRID BACKGROUND
======================================== */

body:not(.login-page)::before {

    content: '';

    position: fixed;

    inset: 0;

    background-image:

        linear-gradient(rgba(255, 255, 255, .025) 1px,
            transparent 1px),

        linear-gradient(90deg,
            rgba(255, 255, 255, .025) 1px,
            transparent 1px);

    background-size:
        70px 70px;

    pointer-events: none;

    z-index: -2;
}

/* ========================================
   LIGHT EFFECTS
======================================== */

body:not(.login-page)::after {

    content: '';

    position: fixed;

    inset: 0;

    background:

        radial-gradient(circle at 15% 10%,
            rgba(59, 130, 246, .08),
            transparent 35%),

        radial-gradient(circle at 85% 15%,
            rgba(99, 102, 241, .08),
            transparent 35%);

    pointer-events: none;

    z-index: -1;
}

/* ========================================
   CONTAINER
======================================== */

.container {

    max-width: 1400px;

    margin: 0 auto;

    padding: 40px;
}

/* ========================================
   HEADER
======================================== */

.dashboard-header {

    margin-bottom: 60px;

    padding: 35px;

    border-radius: 28px;

    background:
        rgba(255, 255, 255, .05);

    border:
        1px solid rgba(255, 255, 255, .08);

    backdrop-filter:
        blur(18px);

    box-shadow:
        0 20px 40px rgba(0, 0, 0, .15);


    text-align: center;
}

.dashboard-header h1 {

    font-size: 64px;

    font-weight: 800;

    letter-spacing: -2px;

    margin-bottom: 12px;

    color: white;
}

.dashboard-header p {

    color:
        rgba(255, 255, 255, .70);

    font-size: 18px;
}

/* ========================================
   SECTIONS
======================================== */

.dashboard-section {

    margin-bottom: 60px;
}

.dashboard-section h2 {

    font-size: 32px;

    font-weight: 700;

    margin-bottom: 25px;

    color: white;
}

/* ========================================
   GRID
======================================== */

.dashboard-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fit,
            minmax(280px, 1fr));

    gap: 24px;
}

/* ========================================
   CARDS
======================================== */

.dashboard-card {

    position: relative;

    overflow: hidden;

    text-decoration: none;

    color: white;

    padding: 30px;

    border-radius: 24px;

    background:
        rgba(255, 255, 255, .04);

    border:
        1px solid rgba(255, 255, 255, .08);

    backdrop-filter:
        blur(16px);

    transition:
        all .25s ease;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    min-height: 180px;
}

.dashboard-card::before {

    content: '';

    position: absolute;

    inset: 0;

    background:

        linear-gradient(135deg,
            rgba(255, 255, 255, .03),
            transparent);

    pointer-events: none;
}

.dashboard-card:hover {

    transform:
        translateY(-6px);

    background:
        rgba(255, 255, 255, .08);

    border-color:
        rgba(59, 130, 246, .25);

    box-shadow:
        0 15px 35px rgba(59, 130, 246, .15);
}

.dashboard-card span {

    display: flex;

    justify-content: center;

    align-items: center;

    width: 100%;

    font-size: 48px;

    margin-bottom: 20px;
}

.dashboard-card {

    font-size: 17px;

    font-weight: 600;
}

/* ========================================
   ADMIN
======================================== */

.dashboard-section:first-of-type .dashboard-card {

    border-left:
        4px solid rgba(59, 130, 246, .45);
}

/* ========================================
   INSASSEN
======================================== */

.dashboard-section:nth-of-type(2) .dashboard-card {

    border-left:
        4px solid rgba(34, 197, 94, .45);
}

/* ========================================
   PRAKTIKANTEN
======================================== */

.dashboard-section:nth-of-type(3) .dashboard-card {

    border-left:
        4px solid rgba(168, 85, 247, .45);
}

/* ========================================
   MOBILE
======================================== */

@media(max-width:900px) {

    .container {

        padding: 20px;
    }

    .dashboard-header {

        padding: 25px;
        text-align: center;
    }

    .dashboard-header h1 {

        font-size: 42px;
    }

    .dashboard-section h2 {

        font-size: 32px;

        font-weight: 700;

        margin-bottom: 25px;

        color: white;

        text-align: center;
    }

    .dashboard-grid {

        grid-template-columns: 1fr;
    }
}




/*
########################################################
USERS
########################################################
*/

.card {

    background:
        rgba(255, 255, 255, .04);

    border:
        1px solid rgba(255, 255, 255, .08);

    border-radius: 24px;

    padding: 30px;

    backdrop-filter:
        blur(16px);

    margin-bottom: 30px;
}

/* ========================================
   FORMULAR
======================================== */

.card form {

    display: flex;

    flex-direction: column;

    gap: 15px;
}

.card input,
.card select {

    width: 100%;

    padding: 16px;

    border-radius: 14px;

    border:
        1px solid rgba(255, 255, 255, .08);

    background:
        rgba(255, 255, 255, .04);

    color: white;

    font-size: 15px;

    outline: none;

    transition: .2s;
}

.card input:focus,
.card select:focus {

    border-color:
        rgba(59, 130, 246, .5);

    box-shadow:
        0 0 15px rgba(59, 130, 246, .15);
}

.card select option {

    background: #1e293b;

    color: white;
}

.card button {

    padding: 16px;

    border: none;

    border-radius: 14px;

    cursor: pointer;

    font-weight: 700;

    color: white;

    background:

        linear-gradient(135deg,
            #3b82f6,
            #6366f1);

    transition: .25s;
}

.card button:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 10px 25px rgba(59, 130, 246, .25);
}

/* ========================================
   MELDUNGEN
======================================== */

.success-box {

    margin-bottom: 25px;

    padding: 16px;

    border-radius: 14px;

    background:
        rgba(34, 197, 94, .12);

    border:
        1px solid rgba(34, 197, 94, .25);

    color: #86efac;

    text-align: center;
}

.error-box {

    margin-bottom: 25px;

    padding: 16px;

    border-radius: 14px;

    background:
        rgba(239, 68, 68, .12);

    border:
        1px solid rgba(239, 68, 68, .25);

    color: #fca5a5;

    text-align: center;
}

/* ========================================
   USER GRID
======================================== */

.user-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fit,
            minmax(280px, 1fr));

    gap: 24px;
}

/* ========================================
   USER CARD
======================================== */

.user-card {

    background:
        rgba(255, 255, 255, .04);

    border:
        1px solid rgba(255, 255, 255, .08);

    border-radius: 24px;

    padding: 30px;

    text-align: center;

    backdrop-filter:
        blur(16px);

    transition: .25s;
}

.user-card:hover {

    transform:
        translateY(-5px);

    border-color:
        rgba(59, 130, 246, .20);

    box-shadow:
        0 15px 35px rgba(59, 130, 246, .10);
}

.user-name {

    font-size: 22px;

    font-weight: 700;

    margin-bottom: 20px;

    color: white;
}

/* ========================================
   ROLLEN
======================================== */

.role-badge {

    display: inline-block;

    padding: 10px 18px;

    border-radius: 999px;

    font-size: 14px;

    font-weight: 700;

    margin-bottom: 25px;
}

.role-administrator {

    background:
        rgba(59, 130, 246, .15);

    color: #60a5fa;

    border:
        1px solid rgba(59, 130, 246, .25);
}

.role-insasse {

    background:
        rgba(34, 197, 94, .15);

    color: #4ade80;

    border:
        1px solid rgba(34, 197, 94, .25);
}

.role-praktikant {

    background:
        rgba(168, 85, 247, .15);

    color: #c084fc;

    border:
        1px solid rgba(168, 85, 247, .25);
}

/* ========================================
   BUTTONS
======================================== */

.delete-btn {

    display: inline-block;

    padding: 12px 18px;

    border-radius: 12px;

    text-decoration: none;

    background:
        rgba(239, 68, 68, .15);

    border:
        1px solid rgba(239, 68, 68, .25);

    color: #f87171;

    transition: .25s;
}

.delete-btn:hover {

    background:
        rgba(239, 68, 68, .25);
}

.own-account {

    color:
        rgba(255, 255, 255, .55);

    font-size: 14px;
}

.edit-btn {

    display: inline-block;

    padding: 12px 18px;

    border-radius: 12px;

    text-decoration: none;

    margin-right: 10px;

    background:
        rgba(59, 130, 246, .15);

    border:
        1px solid rgba(59, 130, 246, .25);

    color: #60a5fa;

    transition: .25s;
}

.edit-btn:hover {

    background:
        rgba(59, 130, 246, .25);
}


.user-search {

    width: 100%;

    max-width: 400px;

    margin: 0 auto;

    display: block;


    margin-bottom: 20px;
}

.user-table {

    width: 100%;

    border-collapse: collapse;

    background:
        rgba(255, 255, 255, .04);

    border:
        1px solid rgba(255, 255, 255, .08);

    border-radius: 24px;

    overflow: hidden;

    backdrop-filter:
        blur(16px);
}

.user-table th {

    padding: 18px;

    text-align: left;

    background:
        rgba(255, 255, 255, .03);

    color: white;

    font-size: 14px;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.user-table td {

    padding: 18px;

    border-top:
        1px solid rgba(255, 255, 255, .05);
}

.user-table tr:hover {

    background:
        rgba(255, 255, 255, .03);
}

.user-table-wrapper {

    max-height: 350px;

    overflow-y: auto;

    border-radius: 20px;
}



/*



HEADER


*/



/*
########################################################
HEADER / NAVIGATION
########################################################
*/

.topbar {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    padding: 20px 30px;

    margin-bottom: 30px;

    background:
        rgba(255, 255, 255, .04);

    border:
        1px solid rgba(255, 255, 255, .08);

    border-radius: 24px;

    backdrop-filter:
        blur(16px);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .15);
}

.topbar-left {

    display: flex;

    flex-direction: column;
}

.topbar-title {

    font-size: 24px;

    font-weight: 800;

    color: white;

    margin: 0;
}

.topbar-subtitle {

    font-size: 13px;

    color:
        rgba(255, 255, 255, .60);

    margin-top: 4px;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.topbar-right {

    display: flex;

    align-items: center;

    gap: 15px;
}

.user-badge {

    padding: 10px 16px;

    border-radius: 999px;

    background:
        rgba(59, 130, 246, .12);

    border:
        1px solid rgba(59, 130, 246, .20);

    color: #93c5fd;

    font-size: 14px;

    font-weight: 600;
}

.logout-btn {

    padding: 10px 18px;

    border-radius: 12px;

    text-decoration: none;

    color: white;

    background:
        linear-gradient(135deg,
            #3b82f6,
            #6366f1);

    transition: .25s;
}

.logout-btn:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 8px 20px rgba(59, 130, 246, .25);
}



/*
########################################################
PORTAL HEADER
########################################################
*/

.portal-header {

    display: flex;

    justify-content: center;

    align-items: center;

    text-align: center;

    margin-bottom: 40px;

    padding: 35px;

    background:
        rgba(255, 255, 255, .04);

    border:
        1px solid rgba(255, 255, 255, .08);

    border-radius: 24px;

    backdrop-filter:
        blur(18px);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .15);
}

.portal-logo {

    text-decoration: none;

    display: flex;

    flex-direction: column;

    align-items: center;
}

.portal-title {

    font-size: 42px;

    font-weight: 900;

    color: white;

    transition: .25s;
}

.portal-logo:hover .portal-title {

    color: #93c5fd;
}

.portal-subtitle {

    margin-top: 10px;

    font-size: 13px;

    letter-spacing: 2px;

    text-transform: uppercase;

    color:
        rgba(255, 255, 255, .55);
}



/*
########################################################
FOOTER
########################################################
*/

.site-footer {

    margin-top: 60px;

    padding: 30px;

    text-align: center;

    background:
        rgba(255, 255, 255, .04);

    border:
        1px solid rgba(255, 255, 255, .08);

    border-radius: 24px;

    backdrop-filter:
        blur(18px);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .10);
}

.footer-links {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 15px;

    flex-wrap: wrap;
}

.footer-links a {

    color:
        rgba(255, 255, 255, .80);

    text-decoration: none;

    font-weight: 600;

    transition: .25s;
}

.footer-links a:hover {

    color: #93c5fd;
}

.footer-divider {

    color:
        rgba(255, 255, 255, .30);
}

.footer-copyright {

    margin-top: 15px;

    font-size: 13px;

    color:
        rgba(255, 255, 255, .45);

    letter-spacing: 1px;

    text-transform: uppercase;
}


/*
########################################################
IMPRESSUM / DATENSCHUTZ
########################################################
*/

.legal-page {

    min-height: calc(100vh - 250px);

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    max-width: 1000px;

    margin: 0 auto;
}

.legal-header {

    text-align: center;

    margin-bottom: 40px;

    padding: 40px;

    background:
        rgba(255, 255, 255, .04);

    border:
        1px solid rgba(255, 255, 255, .08);

    border-radius: 24px;

    backdrop-filter:
        blur(18px);
}

.legal-header h1 {

    font-size: 48px;

    font-weight: 900;

    color: white;

    margin-bottom: 10px;
}

.legal-header p {

    color:
        rgba(255, 255, 255, .60);

    font-size: 15px;
}

.legal-card {

    width: 100%;

    max-width: 800px;

    background:
        rgba(255, 255, 255, .04);

    border:
        1px solid rgba(255, 255, 255, .08);

    border-radius: 24px;

    padding: 35px;

    backdrop-filter:
        blur(18px);

    margin-bottom: 25px;
    text-align: center;
}

.legal-card h2 {

    color: white;

    font-size: 24px;

    margin-bottom: 20px;
}

.legal-card h3 {

    color: white;

    font-size: 18px;

    margin-top: 25px;

    margin-bottom: 10px;
}

.legal-card p {

    color:
        rgba(255, 255, 255, .80);

    line-height: 1.8;

    margin-bottom: 15px;
}

.legal-card ul {

    padding-left: 20px;

    color:
        rgba(255, 255, 255, .80);
}

.legal-card li {

    margin-bottom: 10px;

    line-height: 1.7;
}

.legal-card a {

    color: #93c5fd;

    text-decoration: none;
}

.legal-card a:hover {

    text-decoration: underline;
}

.login-page .site-footer {

    width: 100%;

    margin-top: 0;
}



/*

BEWERTUNGEN

*/

.bewertung-table {

    width: 100%;

    border-collapse: collapse;

    text-align: center;
}

.bewertung-table th,
.bewertung-table td {

    text-align: center;

    vertical-align: middle;

    padding: 14px;
}

.bewertung-table input[type="text"] {

    width: 100%;

    min-width: 250px;
}

.bewertung-table select {

    width: 80px;

    text-align: center;
}

.bewertung-table button {

    margin-bottom: 10px;
}

.bewertung-table th {

    font-weight: 700;
}

.bewertung-table tr:hover {

    background:
        rgba(255, 255, 255, .03);
}


/*
|--------------------------------------------------------------------------
| Bewertungen
|--------------------------------------------------------------------------
*/

.bewertung-table {

    width: 100%;

    border-collapse: collapse;

    text-align: center;
}

.bewertung-table th,
.bewertung-table td {

    padding: 14px;

    text-align: center;

    vertical-align: middle;
}

.bewertung-table input[type="text"] {

    width: 100%;

    min-width: 250px;
}

.bewertung-table select {

    min-width: 80px;

    text-align: center;
}

.bewertung-table button {

    margin-bottom: 8px;
}

.bewertung-table tr:hover {

    background:
        rgba(255, 255, 255, .03);
}


/*
|--------------------------------------------------------------------------
| Mobile Bewertungskarten
|--------------------------------------------------------------------------
*/

.bewertung-mobile-card {
    display: none !important;
}

@media (max-width:768px) {

    .desktop-table {

        display: none;
    }

    .bewertung-mobile-card {

        display: block;

        margin-bottom: 25px;

        padding: 28px;

        border-radius: 28px;

        background:
            linear-gradient(180deg,
                rgba(255, 255, 255, .045),
                rgba(255, 255, 255, .015));

        border:
            1px solid rgba(255, 255, 255, .08);

        box-shadow:
            0 15px 40px rgba(0, 0, 0, .28);

        backdrop-filter:
            blur(16px);
    }

    .mobile-title {

        text-align: center;

        font-size: 34px;

        font-weight: 800;

        color: #fff;

        line-height: 1.1;

        margin-bottom: 5px;
    }

    .mobile-date {

        text-align: center;

        font-size: 14px;

        opacity: .65;

        margin-bottom: 25px;
    }

    .mobile-badge {

        display: inline-flex;

        align-items: center;

        gap: 8px;

        padding: 10px 18px;

        border-radius: 999px;

        background:
            rgba(59, 130, 246, .12);

        border:
            1px solid rgba(59, 130, 246, .35);

        color: #7cb8ff;

        font-size: 14px;

        font-weight: 700;

        margin-bottom: 18px;
    }

    .mobile-gericht {

        font-size: 30px;

        font-weight: 800;

        color: #fff;

        line-height: 1.15;

        margin-top: 5px;

        margin-bottom: 30px;
    }

    .mobile-divider {

        height: 1px;

        background:
            linear-gradient(90deg,
                transparent,
                rgba(255, 255, 255, .12),
                transparent);

        margin-bottom: 25px;
    }

    .mobile-label {

        display: block;

        font-size: 13px;

        font-weight: 700;

        color:
            rgba(255, 255, 255, .55);

        margin-bottom: 8px;

        text-transform: uppercase;

        letter-spacing: .5px;
    }

    .bewertung-mobile-card select,
    .bewertung-mobile-card input {

        width: 100%;

        height: 60px;

        border-radius: 16px;

        border:
            1px solid rgba(255, 255, 255, .10);

        background:
            rgba(255, 255, 255, .06);

        color: #fff;

        font-size: 17px;

        padding: 0 20px;

        backdrop-filter:
            blur(10px);

        margin-bottom: 20px;

        box-shadow: none;
    }

    .bewertung-mobile-card input::placeholder {

        color:
            rgba(255, 255, 255, .45);
    }

    .bewertung-mobile-card select:focus,
    .bewertung-mobile-card input:focus {

        outline: none;

        border-color:
            rgba(59, 130, 246, .7);

        box-shadow:
            0 0 0 3px rgba(59, 130, 246, .15);
    }

    .bewertung-mobile-card button {

        width: 100%;

        height: 58px;

        border-radius: 16px;

        font-size: 18px;

        font-weight: 700;

        margin-top: 5px;
    }

    .bewertung-mobile-card .delete-btn {

        display: block;

        width: 100%;

        text-align: center;

        margin-top: 12px;

        padding: 16px;

        border-radius: 16px;

        text-decoration: none;

        font-weight: 700;
    }
}

.filter-label {

    display: block;

    margin-bottom: 8px;

    font-weight: 700;

    color:
        rgba(255, 255, 255, .85);
}

.mobile-only {

    display: none;
}

@media (max-width:768px) {

    .mobile-only {

        display: block;
    }

    .desktop-table {

        display: none;
    }
}


.desktop-review-card {

    margin-bottom: 20px;
}

.rating-average {

    font-size: 22px;

    font-weight: 700;

    margin: 15px 0 20px;
}

.review-card {

    padding: 18px;

    margin-top: 15px;

    border-radius: 16px;

    background:
        rgba(255, 255, 255, .04);

    border:
        1px solid rgba(255, 255, 255, .08);
}

.review-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 10px;
}

.review-card p {

    margin: 10px 0;
}

@media (max-width:768px) {

    .desktop-review-card {

        display: none;
    }
}

@media (min-width:769px) {

    .bewertung-mobile-card {

        display: none;
    }
}










/*
|--------------------------------------------------------------------------
| Bewertungen ansehen
|--------------------------------------------------------------------------
*/

.bewertung-ansehen-card {

    margin-bottom: 25px;

    padding: 28px;

    border-radius: 24px;

    background:
        rgba(255, 255, 255, .04);

    border:
        1px solid rgba(255, 255, 255, .08);

    backdrop-filter:
        blur(12px);
}

.bewertung-ansehen-header {

    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    gap: 20px;

    margin-bottom: 25px;
}

.bewertung-ansehen-tag {

    font-size: 15px;

    opacity: .7;

    margin-bottom: 10px;
}

.bewertung-ansehen-typ {

    display: inline-block;

    padding: 8px 16px;

    border-radius: 999px;

    background:
        rgba(59, 130, 246, .12);

    border:
        1px solid rgba(59, 130, 246, .35);

    color: #7cb8ff;

    font-weight: 700;

    margin-bottom: 15px;
}

.bewertung-ansehen-gericht {

    font-size: 32px;

    font-weight: 800;

    line-height: 1.2;
}

.bewertung-ansehen-average {

    font-size: 24px;

    font-weight: 700;

    white-space: nowrap;
}

.bewertung-ansehen-review {

    padding: 18px;

    margin-top: 15px;

    border-radius: 16px;

    background:
        rgba(255, 255, 255, .03);

    border:
        1px solid rgba(255, 255, 255, .08);
}

.bewertung-ansehen-review-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 10px;
}

.bewertung-ansehen-kommentar {

    margin-top: 10px;

    line-height: 1.6;
}

/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width:768px) {

    .bewertung-ansehen-card {

        padding: 24px;

        border-radius: 24px;
    }

    .bewertung-ansehen-header {

        flex-direction: column;
    }

    .bewertung-ansehen-average {

        font-size: 22px;
    }

    .bewertung-ansehen-gericht {

        font-size: 28px;
    }

    .bewertung-ansehen-review-header {

        flex-direction: column;

        align-items: flex-start;

        gap: 6px;
    }

    .bewertung-ansehen-review {

        padding: 16px;
    }

    .bewertung-ansehen-tag {

        text-align: center;
    }

    .bewertung-ansehen-average {

        width: 100%;

        text-align: center;
    }
}


/*
|--------------------------------------------------------------------------
| Essen eintragen
|--------------------------------------------------------------------------
*/

.mobile-history {

    display: none;
}

@media (max-width:768px) {

    .table-responsive {

        display: none;
    }

    .mobile-history {

        display: block;
    }

    .essen-mobile-card {

        margin-bottom: 20px;

        padding: 24px;

        border-radius: 24px;

        background:
            rgba(255, 255, 255, .04);

        border:
            1px solid rgba(255, 255, 255, .08);
    }

    .essen-mobile-date {

        text-align: center;

        font-size: 18px;

        font-weight: 700;

        margin-bottom: 20px;
    }

    .essen-mobile-section {

        margin-bottom: 18px;
    }

    .essen-mobile-label {

        display: block;

        font-size: 12px;

        text-transform: uppercase;

        letter-spacing: 1px;

        opacity: .6;

        margin-bottom: 6px;
    }

    .essen-mobile-value {

        font-size: 22px;

        font-weight: 700;
    }

    .essen-mobile-actions {

        margin-top: 20px;
    }

    .essen-mobile-actions a {

        display: block;

        width: 100%;

        text-align: center;

        margin-top: 10px;
    }
}