/* =====================================================
      🌸 GLOBAL STYLES – FlurryBank Crystal Edition
   ===================================================== */

body {
    margin: 0;
    padding: 0;
    font-family: 'Quicksand', Arial, sans-serif;
    background: linear-gradient(145deg, #ffd4f3, #e5bdf9, #c6d8ff);
    background-size: 400% 400%;
    animation: magicBG 18s ease infinite;
    color: #333;
}

@keyframes magicBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

h1, h2, h3 {
    font-family: 'Baloo 2', sans-serif;
    color: #d15ba3;
    text-align: center;
    margin-bottom: 12px;
}

a {
    text-decoration: none;
    color: #d15ba3;
}
a:hover {
    text-shadow: 0 0 6px rgba(209,91,163,0.8);
}
/* =====================================================
      🌸 UNIVERSAL CARD / PANEL
   ===================================================== */

.card, .main-box {
    width: 90%;
    max-width: 700px;
    margin: 25px auto;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.12);
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
/* =====================================================
      🌸 INPUT FIELDS
   ===================================================== */

input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"] {
    width: 100%;
    padding: 14px;
    margin-bottom: 14px;
    border-radius: 12px;
    border: 2px solid #f3c2ec;
    background: rgba(255,255,255,0.95);
    font-size: 1rem;
    transition: 0.25s;
}

input:focus {
    border-color: #d15ba3;
    box-shadow: 0 0 8px rgba(209,91,163,0.4);
    outline: none;
}
/* =====================================================
      🌸 BUTTONS
   ===================================================== */

button,
.btn-primary {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(90deg, #ff84d8, #ffbdf0);
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(255, 0, 180, 0.35);
    transition: 0.25s;
}

button:hover,
.btn-primary:hover {
    background: linear-gradient(90deg, #ff5bc8, #ffa8ea);
    box-shadow: 0 8px 20px rgba(255, 0, 180, 0.5);
    transform: translateY(-2px);
}
/* =====================================================
      🌸 TABLE DESIGN
   ===================================================== */

table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 16px;
    margin-top: 20px;
}

table th {
    background: linear-gradient(90deg, #ffafe6, #ffbff1);
    padding: 12px;
    font-size: 1rem;
    color: #4a2a59;
}

table td {
    background: white;
    padding: 12px;
    border-bottom: 1px solid #f3d4f5;
}

table tr:last-child td {
    border-bottom: none;
}

table tr:hover td {
    background: #fff1fb;
}
/* =====================================================
      🌸 LOGIN SCREEN – Crystal Empire Edition
   ===================================================== */

.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.login-box {
    width: 92%;
    max-width: 360px;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(14px);
    padding: 28px;
    border-radius: 22px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.18);
    text-align: center;
}

.login-logo {
    width: 100px;
    margin-bottom: 8px;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.25));
}

.login-form input {
    width: 90%;
}
/* =====================================================
      🌸 CRYSTAL NAVBAR
   ===================================================== */

.navbar {
    width: 100%;
    padding: 10px 22px;
    height: 68px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, #ffb8f5, #e7a6ff, #c9b8ff);
    backdrop-filter: blur(14px);
    border-bottom: 2px solid rgba(255,255,255,0.4);
    box-shadow: 0 6px 20px rgba(255,0,200,0.25);
    border-radius: 0 0 18px 18px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-left img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 3px solid white;
    object-fit: cover;
    box-shadow: 0 0 8px rgba(255,255,255,0.6);
}

.nav-left span {
    color: white;
    font-weight: 700;
}

.nav-right {
    display: flex;
    gap: 12px;
    align-items: center;
}

.nav-right a {
    padding: 8px 16px;
    background: rgba(255,255,255,0.85);
    border-radius: 14px;
    color: #5c2e66;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 3px 9px rgba(255,0,200,0.28);
    transition: 0.25s;
}

.nav-right a:hover {
    background: white;
    box-shadow: 0 5px 14px rgba(255,0,200,0.45);
    transform: translateY(-2px);
}
.nav-right a {
    padding: 5px 20px;
    background: rgba(255,255,255,0.85);
    border-radius: 16px;
    color: #5c2e66;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 3px 9px rgba(255,0,200,0.28);
    transition: 0.25s;

    /* FIXES */
    white-space: nowrap;       /* verhindert Zeilenumbruch */
    height: 30px;              /* gleiche Höhe für alle */
    display: flex;             /* ermöglicht zentrierten Text */
    align-items: center;       /* vertikal zentriert */
    justify-content: center;   /* horizontal zentriert */
}
.navbar {
    width: 88.5%;
    padding: 14px 60px; /* vorher 30px – jetzt weiter weg vom Rand */
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, #ffb8f5, #e7a6ff, #c9b8ff);
    backdrop-filter: blur(14px);
    box-shadow: 0 6px 20px rgba(255, 0, 200, 0.25);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid rgba(255,255,255,0.4);
    border-radius: 0 0 20px 20px;
}
