/* ==========================================================================
   Admin & Login Framework - Main Stylesheet - TEIL 1
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: url("../images/logo/hintergrund.jpg") no-repeat center center fixed;
    background-size: cover;
    margin: 0;
}

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 99;
    box-sizing: border-box;
}

.logo {
    font-size: 2em;
    color: white;
    user-select: none;
}

.navigation a {
    position: relative;
    font-size: 1.1em;
    color: white;
    text-decoration: none;
    font-weight: 500;
    margin-left: 20px;
}

.navigation a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 5px;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform .5s;
}

.navigation a:hover::after {
    transform-origin: left;
    transform: scaleX(1);
}

.wrapper {
    position: relative;
    margin: 100px auto 20px auto;
    width: 350px;
    min-height: 460px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 25px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
    z-index: 10;
}
/* ==========================================================================
   Admin & Login Framework - Main Stylesheet - TEIL 2
   ========================================================================== */

.wrapper .form-box {
    width: 100%;
    padding: 25px;
}

.wrapper .form-box h2 {
    font-size: 2em;
    color: white;
    text-align: center;
    margin-bottom: 5px;
}

.wrapper .icon-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    color: #ffffff;
    display: block;
    z-index: 9999;
    cursor: pointer;
    font-size: 32px;
    font-weight: bold;
}

.wrapper .icon-close:hover {
    color: #ff4d4d;
}

.input-box, .select-input-box {
    position: relative;
    width: 100%;
    height: 45px;
    border-bottom: 2px solid white;
    margin: 20px 0;
}

.input-box label, .select-input-box label {
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff !important;
    font-weight: 500;
    pointer-events: none;
    transition: 0.5s;
}

.input-box input:focus ~ label,
.input-box input:hover ~ label,
.input-box input:not(:placeholder-shown) ~ label,
.select-input-box select:focus ~ label,
.select-input-box select:hover ~ label,
.select-input-box select:valid ~ label,
.select-input-box:hover label {
    top: -5px !important;
    font-size: 0.85em !important;
    color: #ffffff !important;
}

.input-box input, .select-input-box select {
    width: 100%;
    height: 100%;
    background: transparent !important;
    border: none;
    outline: none;
    font-size: 1em;
    font-weight: 600;
    color: white !important;
    padding: 0 35px 0 5px;
}

.select-input-box select {
    position: relative;
    z-index: 5;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.select-input-box select option {
    background: #162938 !important;
    color: #ffffff !important;
}

.input-box .icon, .select-input-box .icon {
    position: absolute;
    right: 8px;
    line-height: 45px;
    color: white;
    font-size: 1.2em;
}

.form-box .btn {
    width: 100%;
    height: 40px;
    background: transparent !important;
    border: 2px solid white !important;
    outline: none !important;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    color: white !important;
    margin-top: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-box .btn:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.input-box input:-webkit-autofill {
    -webkit-text-fill-color: #ffffff !important;
    -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
    transition: background-color 5000s ease-in-out 0s !important;
}

@media screen and (max-width: 768px) {
    header { position: relative !important; flex-direction: column !important; gap: 15px !important; padding: 15px 10px !important; text-align: center !important; }
    .navigation { display: flex !important; flex-wrap: wrap !important; justify-content: center !important; gap: 10px !important; }
    .navigation a { margin-left: 0 !important; font-size: 1em !important; }
    .wrapper { width: 90% !important; max-width: 350px !important; margin: 20px auto !important; }
}
