
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/Inter/static/Inter_18pt-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/Inter/static/Inter_24pt-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

p{
    margin: 0;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0 !important;
}

:root {
        --glass-bg: rgba(255, 255, 255, 0.25);
        --glass-border: rgba(255, 255, 255, 0.18);
        --glow: rgba(255, 193, 7, 0.3);
        --shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
        --error-light: rgb(216, 78, 78);
        --error-dark: #dc2626;
        --error-icon: #970202;

        --warning-light: #fef3c7;
        --warning-dark: #f59e0b;
        --warning-icon: #b45309;

        --success-light: #f0fdf4;
        --success-dark: #16a34a;
        --success-icon: #15803d;

        --text-main: #0f172a;     /* fast schwarz */
        --text-muted: #64748b;   /* slate */
        --bg-soft: #f8fafc;
        --border-soft: #e5e7eb;

        --pending: #f59e0b;      /* orange */
        --approved: #3b82f6;     /* blau */
        --available: #64748b;    /* neutral */

    }

    .toast-home {
        position: fixed;
        top: 100px;
        right: 20px;
        max-width: 360px;
        background: var(--glass-bg);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid var(--glass-border);
        border-radius: 20px;
        box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.05);
        padding: 24px;
        z-index: 9999;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        animation: slideInRight 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .security-toast, .warning-toast {
        border-left: 4px solid var(--warning-dark);
    }

    .error-toast {
        border-left: 4px solid var(--error-dark);
    }

    .success-toast {
        border-left: 4px solid var(--success-dark);
    }

    @keyframes slideInRight {
        from {
            transform: translateX(400px);
            opacity: 0;
        }

        to {
            transform: translateX(0);
            opacity: 1;
        }
    }

    .toast-header {
        display: flex;
        gap: 16px;
        align-items: flex-start;
    }

    .icon-wrapper {
        width: 48px;
        height: 48px;
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .icon-wrapper-security-notice, .icon-wrapper-warning-notice {
        background: linear-gradient(135deg, var(--warning-light), var(--warning-dark));
    }

    .icon-wrapper-error-notice {
        background: linear-gradient(135deg, var(--error-light), var(--error-dark));
    }

    .icon-wrapper-success-notice {
        background: linear-gradient(135deg, var(--success-light), var(--success-dark));
    }

    .modal-icon {
        width: 24px;
        height: 24px;
        align-items: center;
        display: flex;
        justify-content: center;
    }

    .shield-icon, .warning-icon {
        color: var(--warning-icon);
    }

    .error-icon {
        font-size: 26px;
        color: var(--error-icon);
    }

    .success-icon {
        font-size: 26px;
        color: var(--success-icon);
    }

    .content h6 {
        margin: 0 0 8px 0;
        font-size: 16px;
        font-weight: 700;
        color: #1f2937;
        line-height: 1.3;
    }

    .message {
        margin: 0;
        font-size: 14px;
        color: #6b7280;
        line-height: 1.5;
    }

    .time {
        font-size: 12px;
        color: #9ca3af;
        margin-left: 8px;
    }

    .toast-actions {
        display: flex;
        gap: 12px;
        align-items: center;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .btn-mfa {
        background: linear-gradient(135deg, #10b981, #059669);
        color: white;
        padding: 8px 16px;
        border-radius: 12px;
        font-size: 13px;
        font-weight: 600;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 6px;
        transition: all 0.2s ease;
        box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
    }

    .btn-mfa svg {
        width: 16px;
        height: 16px;
    }

    .btn-mfa:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
    }

    .btn-dismiss {
        background: none;
        border: none;
        width: 32px;
        height: 32px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #6b7280;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .btn-dismiss:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #374151;
    }

    .btn-dismiss svg {
        width: 16px;
        height: 16px;
    }

    .loader-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(8px);
    z-index: 9999; display: flex; align-items: center; justify-content: center;
    opacity: 1; transition: opacity 0.4s ease;
}

.uhr-container { text-align: center; padding: 3rem; }

.uhr-gehaeuse {
    position: relative; width: 120px; height: 120px; margin: 0 auto 2rem;
    background: radial-gradient(circle at 30% 30%, #e8f4fd 0%, #d1ecf8 70%, #0099ff 100%);
    border-radius: 50%; border: 6px solid #0099ff;
    box-shadow: 0 10px 30px rgba(0,153,255,0.4), inset 0 2px 10px rgba(255,255,255,0.8);
}

.uhr-zifferblatt {
    position: absolute; top: 15px; left: 15px; right: 15px; bottom: 15px;
    background: radial-gradient(circle, rgba(255,255,255,0.9) 0%, rgba(240,248,255,0.7) 100%);
    border-radius: 50%; border: 2px solid rgba(0,153,255,0.3);
}

.uhr-mitte {
    position: absolute; top: 50%; left: 50%; width: 12px; height: 12px;
    background: #0099ff; border-radius: 50%; transform: translate(-50%, -50%);
    box-shadow: 0 0 15px #0099ff; z-index: 10;
}
.stunden-zeiger {
    position: absolute; left: 50%; width: 6px; height: 28px;
    bottom: 26px; background: linear-gradient(to top, #005f99, #0099ff);
    border-radius: 3px; transform-origin: top center;
    transform: translateX(-50%) rotate(90deg);
    animation: stunden-drehen 12s linear infinite; z-index: 3;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.minuten-zeiger {
    position: absolute; left: 50%; width: 4px; height: 36px;
    bottom: 16px; background: linear-gradient(to top, #007acc, white);
    border-radius: 2px; transform-origin: top center;
    transform: translateX(-50%) rotate(210deg);
    animation: minuten-drehen 4s linear infinite; z-index: 4;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.sekunden-zeiger {
    position: absolute; left: 50%; width: 2px; height: 42px;
    bottom: 13px; background: linear-gradient(to top, #ff4444, #ff6666);
    border-radius: 1px; transform-origin: top center;
    transform: translateX(-50%) rotate(150deg);
    animation: sekunden-drehen 2s steps(30) infinite; z-index: 5;
}

.hidden { 
    opacity: 0 !important; 
    pointer-events: none; 
    visibility: hidden; 
}

.sidebar-open-close-button{
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.profilModalImg{
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.profilModalImg img{
    width: 40%;
    border-radius: 50%;
}


.multi-select-wrapper{
    position:relative;
    width: 100%;
}

.select-box{
    border:1px solid #ddd;
    padding:10px 12px;
    border-radius:8px;
    cursor:pointer;
    background:white;
}

.multi-select{
    position:absolute;
    width:100%;
    background:white;
    border:1px solid #ddd;
    border-radius:10px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
    display:none;
    z-index:100;
}

.multi-select.open{
    display:block;
}

.user-list{
    padding: 10px;
    max-height: fit-content;
    overflow:auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.export-user-list{
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    cursor: pointer;
}

.selected-users{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.chip{
  background:#e6f0ff;
  padding:6px 10px;
  border-radius:20px;
  font-size:14px;
}

.chip span{
  margin-left:6px;
  cursor:pointer;
}

/* Perfekte Zeiger-Positionen */
@keyframes stunden-drehen {
    from { transform: translateX(-50%) rotate(0deg); }
    to { transform: translateX(-50%) rotate(360deg); }
}

@keyframes minuten-drehen {
    from { transform: translateX(-50%) rotate(0deg); }
    to { transform: translateX(-50%) rotate(360deg); }
}

@keyframes sekunden-drehen {
    from { transform: translateX(-50%) rotate(0deg); }
    to { transform: translateX(-50%) rotate(360deg); }
}

.loader-text { color: #666; font-weight: 600; font-size: 1.1rem; }

.hidden { opacity: 0 !important; pointer-events: none; }

 .top-notice {

    top: 0;
    left: 0;
    width: 100%;
    padding: 8px 12px;
    background: #f8fafc;
    color: #334155;
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    font-family: "Segoe UI", Arial, sans-serif;
}

.top-notice a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.top-notice a:hover {
    text-decoration: underline;
}

    @media (max-width: 480px) {

        .progress {
    display: flex;
    height: 10px;
    border-radius: 6px;
    overflow: hidden;
    margin: 18px 0;
    background: #e5e7eb;
}

.bar.available {
    background: #007bff;
}

.detail-row-status .available {
    color: #007bff;
}

.bar.requested {
    background: #ffc107;
}

.detail-row-status .requested {
    color: #ffc107;
}

.bar.approved {
    background: #28a745;
}

.detail-row-status .approved {
    color: #28a745;
}

.details .detail-row {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.detail-row-status {
    width: 50%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
    align-items: center;
}

.details {
    display: grid;
    gap: 10px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f9fafb;
}

.detail-row-status {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4b5563;
    font-size: 0.9rem;
}

.value {
    font-size: 1.2rem;
    font-weight: 600;
}

        .security-toast {
            right: 12px;
            left: 12px;
            max-width: none;
            top: 12px;
        }
    }

    .btn-mfa-premium {
        position: relative;
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 20px;
        background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
        color: white;
        text-decoration: none;
        border-radius: 16px;
        font-weight: 600;
        font-size: 14px;
        border: 2px solid rgba(255, 255, 255, 0.2);
        overflow: hidden;
        min-height: 48px;
        flex: 1;
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow:
            0 8px 25px rgba(99, 102, 241, 0.4),
            0 1px 0 rgba(255, 255, 255, 0.3) inset;
    }

    .btn-mfa-premium:hover {
        transform: translateY(-3px) scale(1.02);
        box-shadow:
            0 16px 40px rgba(99, 102, 241, 0.5),
            0 4px 12px rgba(99, 102, 241, 0.3),
            0 1px 0 rgba(255, 255, 255, 0.4) inset;
    }

    .btn-mfa-premium:active {
        transform: translateY(-1px) scale(1);
        transition: all 0.1s ease;
    }

    /* Glow-Effekt */
    .btn-mfa-premium .btn-glow {
        position: absolute;
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        background: linear-gradient(45deg, #c084fc, #a78bfa, #c084fc);
        border-radius: 18px;
        z-index: -1;
        opacity: 0;
        transition: opacity 0.3s ease;
        animation: glowPulse 2s ease-in-out infinite alternate;
    }

    .btn-mfa-premium:hover .btn-glow {
        opacity: 1;
    }

    @keyframes glowPulse {
        0% {
            opacity: 0.4;
            transform: scale(1);
        }

        100% {
            opacity: 0.7;
            transform: scale(1.05);
        }
    }

    /* Icon-Styling */
    .btn-mfa-premium .mfa-icon {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
        filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
    }

    .btn-mfa-premium span {
        position: relative;
        z-index: 2;
    }

    /* Hover Glimmer-Effekt */
    .btn-mfa-premium::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg,
                transparent,
                rgba(255, 255, 255, 0.3),
                transparent);
        transition: left 0.6s;
        z-index: 1;
    }

    .btn-mfa-premium:hover::before {
        left: 100%;
    }

    /* Responsive */
    @media (max-width: 480px) {
        .btn-mfa-premium {
            padding: 14px 18px;
            font-size: 15px;
            border-radius: 14px;
        }
    }

    /* Toast-Integration */
    .toast-actions {
        display: flex;
        gap: 12px;
        align-items: center;
        padding-top: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

@media only screen and (max-width: 768px){
    .progress {
    display: flex;
    height: 10px;
    border-radius: 6px;
    overflow: hidden;
    margin: 18px 0;
    background: #e5e7eb;
}

.bar.available {
    background: #007bff;
}

.detail-row-status .available {
    color: #007bff;
}

.bar.requested {
    background: #ffc107;
}

.detail-row-status .requested {
    color: #ffc107;
}

.bar.approved {
    background: #28a745;
}

.detail-row-status .approved {
    color: #28a745;
}

.details .detail-row {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.detail-row-status {
    width: 50%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
    align-items: center;
}

.details {
    display: grid;
    gap: 10px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f9fafb;
}

.detail-row-status {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4b5563;
    font-size: 0.9rem;
}

.value {
    font-size: 1.2rem;
    font-weight: 600;
}

    footer{
        display: block;
        width: 100%;
    }
    /* Ladebildschirm Container */
    #loading-screen {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background-color:var(--primary-color);
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        color: #FEDD00;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        z-index: 9999;
    }

    #loading-screen img{
        width: 50%;
        max-width: 150px;
        background-color:var(--primary-color);
    }

    #loading-screen h1 {
        font-size: 2rem;
        margin: 0;
        font-weight: bold;
    }

    #loading-screen p {
        font-size: 1.2rem;
        margin-top: 0.5rem;
    }
    
label.required::after {
  content: " *";
  color: red;
}

.login_page{
    display: none;
    flex-direction: row;    
}

.login_info{
    display: none;
}

.login_info img{
    width: 100%;
    display: block;
    margin: 20% auto;
}

.login_info h1{
    color: #46474B;
}

.login_info p{
    color: #333;
}

#login-info-action{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.login_form_container{
    width: 100%;
    display: flex;
    padding: 3rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 90vh;
}

.login_form, .login_access_denied{
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.login_access_denied{
    display: none;
}

.login_form .login_logo, .login_access_denied .login_logo{
    width: 50%;
    margin: 0 auto;
    display: block;
}

.login_form_input{
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.login_form h1{
    text-align: center;
}

.login_form p, .login_access_denied p{
    text-align: center;
}

.login_button_active{
    color: var(--primary-color) !important;
    position: relative;
}

input[type="submit"]{
    cursor: pointer;
}

.login-action-button {
    position: relative;
    cursor: pointer;
}

.login-action-button:hover::after, .login_button_active::after {
    content: '';
    height: 1px;
    display: block;
    width: 90%;
    background: var(--primary-color);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.login_form form{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-container {
  position: relative;
  width: 100%;
}

.input-container .icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
   color: var(--primary-color);
}

.input-field {
  width: 100%;
  padding-left: 36px; 
  height: 40px;
  box-sizing: border-box;
  border-radius: 8px;
  background: var(--secondary-color);
  border: 1px solid #333;
}

#login-submit{
    width: 60%;
    margin: 0 auto;
    display: block;
    padding: 10px;
    text-align: center;
    background: var(--primary-color);
    border-radius: 8px;
    color: white;
    font-weight: 600;
}

#login_forgot_pw{
    text-align: right;
}

#login_forgot_pw a{
    text-decoration: none;
    color: #333;
}

#login_forgot_pw a:hover{
    text-decoration: underline;
}

header{
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 10px 30px;
    border-bottom: 0.5px solid #e9e8e8;
    justify-content: space-between;
}

header .login_logo{
    width: 40%;
    max-width: 130px;
}

.search-bar input[type='search']{
    background: var(--secondary-color);
    padding: 10px 25px 10px 35px;
    min-width: 300px;
    width: auto;
    position: relative;
    border: none;
    border-radius: 8px;
}

.search-bar{
    position: relative;
}

.search-bar i{
    position: absolute;
    left: 10px;
    align-items: center;
    top: 50%;
    transform: translateY(-50%);
}

.header-buttons{
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
}

.header-buttons i{
    background: var(--secondary-color);
    border-radius: 50%;
    padding: 10px;
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 18px;
    cursor: pointer;
    text-align: center;
}

.header-buttons img{
    border-radius: 50%;
    width: 40px;
    height: 40px;
    min-width: 40px;
    margin: auto;
    cursor: pointer;
}

.home-body{
    display: flex;
    flex-direction: row;
    min-height: 95vh;
    position: relative;
}

.sidebar-menu {
    background: #fff;
    padding: 20px;
    border-right: 0.5px solid #e9e8e8;
    display: none !important;
}

.sidebar-open{
    min-width: 350px;
}

.sidebar-open button{
    background: white;
    border: none;
    cursor: pointer;
}

.sidebar-section-name {
    margin-top: 32px;
}

.sidebar-section-name {
    font-size: 0.9em;
    color: #b0b0b0;
    margin-bottom: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.sidebar-menu a {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 6px;
    transition: background 0.2s;
    color: #222;
    text-decoration: none;
    gap: 8px;
    cursor: pointer;
}

.sidebar-menu a.active,
.sidebar-menu a:hover {
    background: var(--hover-bg-color);
    color: var(--hover-color);
    font-weight: 500;
}
.sidebar-menu i {
    font-size: 23px;
    opacity: 0.72;
    width: 40px;
}

.home-content{
    width: 100%;
    padding: 30px;
    overflow: scroll;
}

.home-content-h2{
    font-size: 24px;
}

.home-content-description{
    align-items: center;
    display: flex;
}

.mitarbeiter-name{
    display: flex;
    flex-direction: row;
    padding: 10px;
    gap: 10px;
    position: relative;
    width: 300px;
    max-width: 300px !important;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.teamkalender tr th:first-child{
    width: 300px;
    max-width: 300px !important;
}

.avatar-initials{
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    align-items: center;
    text-align: center;
    border-radius: 50%;
    padding: 5px;
    width: 40px;
    min-width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    cursor: pointer;
}

.mitarbeiter-name img{
    width: 40px;
    height: 40px;
    min-width: 40px;
    object-fit: cover;
    border-radius: 50%;
}

.profilbild{
    width: 40px;
    height: 40px;
    min-width: 40px;
    object-fit: cover;
}

.mitarbeiter-name-email{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    width: auto;
}

.mitarbeiter-name-email a{
    text-decoration: none;
    color: #222222;
}

.mitarbeiter_control_bar{
    display: flex;
    flex-direction: row;
    gap: 20%;
    background: var(--secondary-color);
    padding: 10px;
}

#user-total{
    display: flex;
    flex-direction: row;
}

.home-content table{
    width: 100%;
    border-collapse: collapse;
}

.home-content table tr:first-child, .popup table tr:first-child{
    margin: 0;
    background: var(--secondary-color);
    padding: 10px;
    width: 100%;
}

.home-content table tr th{
    text-align: left;
}

.popup table tr th{
    text-align: left;
}

.home-content table tr th{
    height: 30px;
}

th.today{
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
}

.home-content table tr:hover, .popup table tr:hover{
    background: var(--secondary-color);
}

.mitarbeiter-verwalten{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 0;
}

/* .mitarbeiter-verwalten button{
    background: var(--primary-color);
    padding: 10px;
    color: white;
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
} */

.overlay{
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1000;
    background: rgba(50, 50, 50, 0.15);
    display: none;
    justify-content: center;
    align-items: center;
}

body.no-scroll {
  overflow: hidden;
}

.popup{
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    min-width: 50%;
    min-height: 500px;
    height: auto;
    max-height: 80vh;
    padding: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    overflow-y: auto;
}

.popup-head{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    padding: 10px 0;
}

.popup-head i{
    cursor: pointer;
}

.popup input[type="submit"]{
    min-width: 200px;
    max-width: 300px;
    width: 100%;
}

.popup-header{
    display: flex;
    flex-direction: column;
}

.popup-header p{
    padding: 10px 0;
}

.popup form{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
    min-height: inherit;
    padding: 10px 0;
}

textarea{
    width: 100%;
    height: fit-content;
}

.popup-content div{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-menu button{
    background: white;
    text-align: right;
    border: none;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    width: 100%;
    cursor: pointer;
}

header{
    position: relative;
}

.konto-popup{
    display: none;
    position: absolute;
    top: 101%;
    right: 0;
    padding: 20px;
    background: white;
    z-index: 999;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    min-width: 350px;
}

.konto-popup-header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
}

.konto-popup-header a{
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: 0.5s ease;
}

.konto-popup-header a:hover{
    color: var(--primary-color);
}

.konto-popup-body{
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 20px 0;
}

.konto-popup-body img{
    width: 40px;
    height: 40px;
    min-width: 40px;
    object-fit: cover;
    border-radius: 50%;
}

.konto-popup-body-text{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.konto-popup-h2{
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;         
    overflow: hidden;
    text-overflow: ellipsis;
}

.konto-popup-email{
    font-size: 12px;
}

.konto-popup-anzeigen{
    font-size: 12px;
    transition: 0.5s ease;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
}

.konto-popup-anzeigen:hover{
    color: var(--primary-color);
}

.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.popup-content input, .popup-content textarea, .popup-content select {
  width: 100%;
  padding: 12px 12px 12px 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  outline: none;
  background: none;
}

.popup-content textarea{
    resize: none;
    min-height: 200px;
}

.popup-content label {
  position: absolute;
  top: -10px;
  left: 12px;
  font-size: 1rem;
  color: #999;
  pointer-events: none;
  transition: 0.2s ease all;
  padding: 0 5px;
  background: white;
}

.popup-content input:focus + label,
.popup-content input:not(:placeholder-shown) + label,
.popup-content textarea:focus + label,
.popup-content textarea:not(:placeholder-shown) + label {
  top: -8px;
  left: 8px;
  font-size: 0.8rem;
  color: var(--primary-color);
  background: white;
  padding: 0 4px;
  font-weight: 600;
}

.status-icon{
    border-radius: 50%;
    width: 30px;
    height: 30px;
}

.alle-status{
    display: none;
    position: absolute;
    top: 100%;
    background: white;
    left: 65px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.alle-status .status{
    padding: 15px;
}

.status{
    display: flex;
    flex-direction: row;
    gap: 5px;
    padding: 5px 0px 5px 60px;
    font-size: 14px;
    border-radius: 8px;
}

.status i{
    width: 25px;
    height: 25px;
    align-items: center;
    display: flex;
    font-size: 18px;
}

.status:hover{
    background: var(--secondary-color);
    cursor: pointer;
}

.status-beschreibung{
    align-items: center;
    display: flex;
}

.status-icon-header i{
    position: absolute;
    top: 65%;
    right: 40px;
    padding: 0;
    z-index: 1000;
    background: white;
    min-width: 18px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
}

.mitarbeiter-name .status-icon-header i{
    left: 30px;
    font-size: 18px;
    cursor: pointer;
    text-align: center;
}

.Zeiterfassung{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.Zeiterfassung .Zeit{
    width: 100%;
    align-items: center;
}

.Zeit #uhrzeit{
    font-size: 80px;
    font-weight: bold;
}

.Zeit #datum{
    font-weight: 200;
    font-size: 18px;
}

.check-in-info{
    background: #EBFCED;
    padding: 10px 60px;
    border-radius: 8px;
    width: 100%;
}

.check-out-info{
    background: #FEC87F;
    padding: 10px 60px;
    border-radius: 8px;
    width: 100%;
}

.pause-info{
    background: #FFEBEA;
    color: #E03632;
    padding: 10px 60px;
    border-radius: 8px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
}

.last-times, .total-hour-today{
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.last-times h4, .total-hour-today h4{
    border-bottom: 0.5px solid #e9e8e8;
    padding: 10px 20px;
    text-align: left;
}

.Zeiterfassung .Check-In-Out-Buttons{
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

.Zeiterfassung .Check-In-Out-Buttons form{
    width: calc(50% - 10px);
}

.check-in, .check-out, .check-pause{
    color: white;
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
    align-items: center;
    border: none;
    width: 100%;
    padding: 12px 12px 12px 12px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 8px;
}

.check-in{
    background: #5D9B6D;
}

.check-out{
    background: #EF7065;
}

.buchungen{
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.check-in-startzeit, .check-out-endzeit{
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: center;
}

.check-in-startzeit i, .check-out-endzeit i{
    width: 30px;
}

.letzte-Buchung-zeit{
    width: 40px;
    text-align: left;
}

.total-arbeitszeit {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 20px;
}


.total-arbeitszeit p{
    align-items: center;
    font-weight: 600;
    font-size: 24px;
    
}

/* Meine Zeitbuchungen */
#calendar {
    width: 100%;
    margin: 20px auto;
    border-radius: 10px;
}
.calendar-header {
    display: flex;
    flex-direction: row;
    padding: 20px 0;
    gap: 50px;
    align-items: center;
}

.calendar-header .search-bar{
    width: 100%;
     max-width: 600px;
}

.calendar-header .search-bar input{
    width: 100%;
}

.calendar-head-date {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    position: relative;
}

.calendar-head-date h2{
    width: 200px;
    display: flex;
    align-items: center;
}

.calendar-to-today{
    background: var(--secondary-color);
    align-items: center;
    text-align: center;
    padding: 10px 30px;
    border-radius: 8px;
}

.calendar-head-date button:hover {
  transform: scale(1.1);
  color: #333;
  transition: all 0.2s ease;
  cursor: pointer;
}

.calendar-to-today button{
    font-weight: 600;
}

.dayHeader{
    padding: 10px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
}

.days {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    overflow-x: auto;
}

.day {
    padding: 10px;
    font-weight: 600;
    background: white;
    border: 1px solid #ddd;
    text-align: center;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    height: 100%;
    max-width: calc(100vw / 7);
    min-height: 80px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.day.today {
    background: var(--color-green);
    color: #333;
}

.entry-dot {
    width: 6px;
    height: 6px;
    background-color: #013E36; /* Punktfarbe */
    border-radius: 50%;
    margin: 2px auto 0;
    display: block;
}

.day.today .entry-dot {
    background-color: white;
}

.entry-icon{
    padding: 10px;
    display: flex;
    flex-direction: row;
    text-align: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    border-radius: 8px;
    text-align: center;
    color:#222;
}

.entry-icon i{
    align-items: center;
    display: flex;
}

.genehmigt, .gebucht, .feiertag{
    border: 2px solid;
}

.fehler{
    border: 2px dashed red !important;
}

.offen, .beantragt{
    border: 2px dashed;
}

.popup table{
    padding: 10px 0;
}

.popup table td{
    padding: 10px; 
    text-align: left;
}

.popup table tr td:nth-child(5) i{
    visibility: hidden;
}

.popup table tr:hover td:nth-child(5) i{
    visibility: visible;
}

.popup table tr td:nth-child(5):hover{
    cursor: pointer;
}

.teamkalender{
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.teamkalender tr td{
    border: 0.5px solid #e9e8e8;
    max-width: 30px;
    overflow-x: hidden;
    padding-left: 10px;
}

.teamkalender tr th{
    max-width: 30px;
    min-width: 30px;
    padding: 0;
    text-align: center;
}

.teamkalender tr, .teamkalender tr:first-child{
    background: white !important;
}

.teamkalender tr th{
    text-align: center;
}

.teamkalender .kalenderwoche{
    border: 0.5px solid #e9e8e8;
}

.teamkalender .ruhetag{
    background: var(--secondary-color);
}

.teamkalender .beantragt{
    background-color: rgba(255, 165, 0, 0.3);
    background-image: repeating-linear-gradient(
        45deg,
        rgba(255, 165, 0, 0.2),
        rgba(255, 165, 0, 0.2) 5px,
        transparent 5px,
        transparent 10px
    );
}

.Teamkalender-Eintrag{
    display: flex;
    flex-direction: row;
    gap: 15px;
    width: max-content;
}

.message-no-access{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 80%;
    margin: 0 auto;
}

.message-no-access h2{
    text-align: center;
    padding: 10px 0;
}

.message-no-access p{
    text-align: center;
    font-size: 14px;
    line-height: 150%;
}

.message-no-access img{
    width: auto;
    object-fit: contain;
    max-height: 60vh;
}

.antraege-bereich-head{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: var(--secondary-color);
    width: 100%;
}

.antraege-bereich-header-text{
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}

.antraege-bereich-header-text-icon{
    padding: 5px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.antraege-bereich-header-text p{
    margin: 0;
}

.antrag-thumbs-down button:hover .fa-regular, .antrag-thumbs-up button:hover .fa-regular{
    display: none;
}

.antrag-thumbs-down button .fa-solid, .antrag-thumbs-up button .fa-solid{
    display: none;
}

.antrag-thumbs-down button:hover .fa-solid, .antrag-thumbs-up button:hover .fa-solid{
    display: block;
    cursor: pointer;
}

.antraege-bereich-content table tr{
    background: none !important;
}

.antraege-bereich-content table tr td, .antraege-bereich-content table tr th{
    width: auto;
    min-width: max-content;
    overflow-x: auto;
}

td.antrag-thumbs-down, td.antrag-thumbs-up{
    width: auto;
    max-width: 50px !important;
    min-width: 0px !important;
    text-align: center;
}

td.antrag-thumbs-down button, td.antrag-thumbs-up button{
    background: none;
    border: none;
}

#user-filter{
    position: absolute;
    top: 100%;
    padding: 5px 10px;
    display: none;
    flex-direction: column;
    border-radius: 8px;
    min-width: 300px;
    gap: 5px;
    padding: 10px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    z-index: 999;
    background: white;
    max-height: 300px;
    overflow: hidden;
    overflow-y: scroll;
}

.filter-icon{
    position: relative;
    height: -webkit-fill-available;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.filter-icon i{
    color: #333;
    cursor: pointer;
}

#user-filter .user-row label{
    position: relative;
    top: 0;
    left: 0;
    color: #333;
    background: none;
}

#user-filter .user-row input[type="checkbox"]{
    accent-color: var(--hover-color);
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 0.5px solid #e9e8e8;
    border-radius: 4px;
    padding: 2px;
    cursor: pointer;
    position: relative;
}

#user-filter .user-row input[type="checkbox"]:checked {
   background: var(--hover-color);
}

#user-filter .user-row input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 2px;
    border-left: 3px solid white;
    border-bottom: 3px solid white;
    transform: translate(-50%, -50%) rotate(-45deg);
}

#user-filter .user-row{
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding: 5px 0;
    align-items: center;
}

.user-auswahl-container{
    padding: 5px 0;
}

.password-container {
    background: #fff;
    padding: 40px 50px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    width: 400px;
  }
  
  .password-container h2 {
    color: var(--primary-color);
    font-size: 20px;
  }
  
  .password-container p {
    color: #555;
    font-size: 14px;
    line-height: 140%;
    padding: 10px 0 0 0;
  }

  /* .password-container label {
    display: block;
    font-weight: 600;
    margin-top: 20px;
    position: relative;
    padding: 0;
    top: 0;
    left: 0;
  } */
  
  /* .password-container input {
    width: 100%;
    padding: 10px;
    margin-top: 6px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
  } */

  .password-hints {
    font-size: 12px;
    color: #777;
    margin-top: 6px;
  }
  
  .strength {
    height: 6px;
    border-radius: 4px;
    margin-top: 6px;
    background-color: #eee;
  }

.strength[data-strength="1"] { background-color: #e74c3c; } /* Sehr schwach */
.strength[data-strength="2"] { background-color: #f1c40f; } /* Schwach */
.strength[data-strength="3"] { background-color: #2ecc71; } /* Mittel */
.strength[data-strength="4"] { background-color: #27ae60; } /* Sehr stark */
  .change-first-password input[type="submit"],
  .reset-password input[type="submit"]
  {
    width: 100%;
    margin-top: 30px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
  }

  .change-first-password input[type="submit"]:disabled {
    background-color: color-mix(in srgb, var(--primary-color) 60%, white);
    color: #e8f0fc;    
    cursor: not-allowed;
  }

  .password-container img{
    width: 60%;
    margin: 0 auto 20px auto;
    display: flex;
  }

  .first-password-change, .reset-password {
    font-family: "Inter", Arial, sans-serif;
    /* background-image: url('/IMG/Hintergrund_Zeiterfassung.png');
    background-repeat: no-repeat;
    background-size: contain; */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
  }

  .Uebersicht{
    display: flex;
    flex-direction: row;
    position: absolute;
    right: 0;
    gap: 20px;
    border: 1px solid #e9e8e8;
  }

  .Uebersicht div{
    display: flex;
    flex-direction: row;
    gap: 10px;
    cursor: pointer;
  }

#loader-overlay {
  background-color: var(--primary-color);
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.wing-container {
  position: relative;
  width: 300px; /* Bildbreite anpassen */
  height: auto;
  overflow: visible;
}

.wing-container img {
  width: 100%;
  display: block;
}

.cover {
  position: absolute;
  top: 0;
  width: 50%;   /* Hälfte des Bildes */
  height: 100%;
  background-color: var(--primary-color);
  z-index: 10;
  animation-duration: 2s;
  animation-fill-mode: forwards;
  animation-timing-function: ease;
}

.left-cover {
  left: 0;
  animation-name: cover-slide-left;
}

.right-cover {
  right: 0;
  animation-name: cover-slide-right;
}

@keyframes cover-slide-left {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

@keyframes cover-slide-right {
  from { transform: translateX(0); }
  to { transform: translateX(100%); }
}

.abwesenheiten-antrag{
    display: flex;
    flex-direction: column;
}

.form-line{
    display: flex;
    flex-direction: row;
}

/* .accordion-header{
    width: 100%;
}

.accordion-item:first-of-type>.accordion-header .accordion-button {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
} */

.accordion-body{
    padding: 0;
}

select[multiple] {
  width: 100%;
  max-width: 400px;
  height: auto;
  min-height: 150px;
  padding: 5px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  overflow-y: auto;
}

.max-w-300 {
    max-width: 300px;
}

#animatedAlertError {
  position: fixed;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1050;
  width: 90%;
  max-width: 600px;
  margin-top: -100px;
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  padding: 15px 20px;
  font-size: 1rem;
  display: none;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#animatedAlertError .alert-icon {
  font-size: 22px;
  margin-right: 10px;
  vertical-align: middle;
  color: #721c24;
}

#animatedAlertError .close {
  font-size: 20px;
  font-weight: bold;
  color: #721c24;
  opacity: 1;
  cursor: pointer;
}


#animatedAlertSuccess {
  position: fixed;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1050;
  width: 90%;
  max-width: 600px;
  margin-top: -100px;
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(21, 87, 36, 0.4);
  padding: 15px 20px;
  font-size: 1rem;
  display: none;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#animatedAlertSuccess .alert-icon {
  font-size: 22px;
  margin-right: 10px;
  vertical-align: middle;
  color: #155724;
}

#animatedAlertSuccess .close {
  font-size: 20px;
  font-weight: bold;
  color: #155724;
  opacity: 1;
  cursor: pointer;
}

}

@media only screen and (min-width: 769px){

    .progress {
    display: flex;
    height: 10px;
    border-radius: 6px;
    overflow: hidden;
    margin: 18px 0;
    background: #e5e7eb;
}

.bar.available {
    background: #007bff;
}

.detail-row-status .available {
    color: #007bff;
}

.bar.requested {
    background: #ffc107;
}

.detail-row-status .requested {
    color: #ffc107;
}

.bar.approved {
    background: #28a745;
}

.detail-row-status .approved {
    color: #28a745;
}

.details .detail-row {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.detail-row-status {
    width: 50%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
    align-items: center;
}

.details {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f9fafb;
    min-width: 200px;
}

.detail-row-status {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4b5563;
    font-size: 0.9rem;
}

.value {
    font-size: 1.2rem;
    font-weight: 600;
}

.zeitbuchungen-konto{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
}

.zeitbuchungen-kachel{
    max-width: 30%;
}

.zeitbuchungen-kachel, .urlaubskonto-kachel{
    min-width: 400px;
    height: fit-content;
}

.urlaubskonto-kachel{
    display: flex;
    flex-direction: row;
    width: 70%;
}

th.today{
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
}

label.required::after {
  content: " *";
  color: red;
}

.login_page{
    display: flex;
    flex-direction: row;    
}

.login_info{
    width: 40%;
    background: var(--secondary-color);
    padding: 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100vh;
    border-radius: 20px;
}

.login_info img{
    width: 100%;
    display: block;
    margin: 20% auto;
}

.login_info h1{
    color: #46474B;
}

.login_info p{
    color: #333;
}

#login-info-action{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.login_form_container{
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login_form, .login_access_denied{
    width: 60%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.login_access_denied{
    display: none;
}

.login_form .login_logo, .login_access_denied .login_logo{
    width: 50%;
    margin: 0 auto;
    display: block;
}

.login_form_input{
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.login_form h1{
    text-align: center;
}

.login_form p, .login_access_denied p{
    text-align: center;
}

.login_button_active{
    color: var(--primary-color) !important;
    position: relative;
}

input[type="submit"]{
    cursor: pointer;
}

.login-action-button {
    position: relative;
    cursor: pointer;
}

.login-action-button:hover::after, .login_button_active::after {
    content: '';
    height: 1px;
    display: block;
    width: 90%;
    background: var(--primary-color);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.login_form form{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-container {
  position: relative;
  width: 100%;
}

.input-container .icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
   color: var(--primary-color);
}

.input-field {
  width: 100%;
  padding-left: 36px; 
  height: 40px;
  box-sizing: border-box;
  border-radius: 8px;
  background: var(--secondary-color);
  border: 1px solid #333;
}

#login-submit{
    width: 60%;
    margin: 0 auto;
    display: block;
    padding: 10px;
    text-align: center;
    background: var(--primary-color);
    border-radius: 8px;
    color: white;
    font-weight: 600;
}

#login_forgot_pw{
    text-align: right;
}

#login_forgot_pw a{
    text-decoration: none;
    color: #333;
}

#login_forgot_pw a:hover{
    text-decoration: underline;
}

header{
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 10px 30px;
    border-bottom: 0.5px solid #e9e8e8;
    justify-content: space-between;
}

header .login_logo{
    width: 10%;
}

.search-bar input[type='search']{
    background: var(--secondary-color);
    padding: 10px 25px 10px 35px;
    min-width: 300px;
    width: auto;
    position: relative;
    border: none;
    border-radius: 8px;
}

.search-bar{
    position: relative;
}

.search-bar i{
    position: absolute;
    left: 10px;
    align-items: center;
    top: 50%;
    transform: translateY(-50%);
}

.header-buttons{
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
}

.header-buttons i{
    background: var(--secondary-color);
    border-radius: 50%;
    padding: 10px;
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 18px;
    cursor: pointer;
    text-align: center;
}

.header-buttons img{
    border-radius: 50%;
    width: 40px;
    height: 40px;
    min-width: 40px;
    margin: auto;
    cursor: pointer;
}

.home-body{
    display: flex;
    flex-direction: row;
    min-height: 95vh;
    position: relative;
}

.sidebar-menu {
    background: #fff;
    padding: 20px;
    border-right: 0.5px solid #e9e8e8;
}

.sidebar-open{
    min-width: 350px;
}

.sidebar-section-trennlinie {
    margin-top: 32px;
    border: none;
    border-bottom: 0.5px solid #e9e8e8; /* dünne graue Linie */
    font-size: 0.9em;
    color: #b0b0b0;
    margin-bottom: 8px;
    height: 1.37rem;
    display: none;
}


/* .sidebar-open button{
    background: white;
    border: none;
    cursor: pointer;
} */

.sidebar-section-name {
    margin-top: 32px;
}

.sidebar-section-name {
    font-size: 0.9em;
    color: #b0b0b0;
    margin-bottom: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.sidebar-menu a {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 6px;
    transition: background 0.2s;
    color: #222;
    text-decoration: none;
    gap: 8px;
    cursor: pointer;
}

.sidebar-menu a.active,
.sidebar-menu a:hover {
    background: var(--hover-bg-color);
    color: var(--hover-color);
    font-weight: 500;
}
.sidebar-menu i {
    font-size: 23px;
    opacity: 0.72;
    width: 30px;
    text-align: center;
}

.home-content{
    width: 100%;
    padding: 30px;
    overflow: scroll;
}

.home-content-h2{
    font-size: 24px;
}

.home-content-description{
    align-items: center;
    display: flex;
}

.mitarbeiter-name{
    display: flex;
    flex-direction: row;
    padding: 10px;
    gap: 10px;
    position: relative;
    width: 300px;
    max-width: 300px !important;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.teamkalender tr th:first-child{
    width: 300px;
    max-width: 300px !important;
}

.avatar-initials{
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    align-items: center;
    text-align: center;
    border-radius: 50%;
    padding: 5px;
    width: 40px;
    min-width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    cursor: pointer;
}

.mitarbeiter-name img{
    width: 40px;
    height: 40px;
    min-width: 40px;
    object-fit: cover;
    border-radius: 50%;
}

.profilbild{
    width: 40px;
    height: 40px;
    min-width: 40px;
    object-fit: cover;
}

.mitarbeiter-name-email{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    width: auto;
}

.mitarbeiter-name-email a{
    text-decoration: none;
    color: #222222;
}

.mitarbeiter_control_bar{
    display: flex;
    flex-direction: row;
    gap: 20%;
    background: var(--secondary-color);
    padding: 10px;
}

#user-total{
    display: flex;
    flex-direction: row;
}

.home-content table{
    width: 100%;
    border-collapse: collapse;
}

.home-content table thead, .popup table tr:first-child{
    margin: 0;
    background: var(--secondary-color);
    padding: 10px;
    width: 100%;
}

.home-content table tr th{
    text-align: left;
}

.popup table tr th{
    padding: 10px;
    text-align: left;
}

.home-content table tr th{
    height: 40px;
}

.home-content table tr:hover, .popup table tr:hover{
    background: var(--secondary-color);
}

.mitarbeiter-verwalten{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 0;
}
/* 
.mitarbeiter-verwalten button{
    padding: 10px;
    color: white;
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
} */

.overlay{
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1000;
    background: rgba(50, 50, 50, 0.15);
    display: none;
    justify-content: center;
    align-items: center;
}

body.no-scroll {
  overflow: hidden;
}

.popup{
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    min-width: 50%;
    min-height: 500px;
    height: auto;
    max-height: 80vh;
    padding: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    overflow-y: auto;
}

.popup-head{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    padding: 10px 0;
}

.popup-head i{
    cursor: pointer;
}

.popup input[type="submit"]{
    min-width: 200px;
    max-width: 400px;
    width: 100%;
}

.popup-header{
    display: flex;
    flex-direction: column;
}

.popup-header p{
    padding: 10px 0;
}

.popup form{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
    min-height: inherit;
    padding: 10px 0;
}

textarea{
    width: 100%;
    height: fit-content;
}

.popup-content div{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-menu button{
    background: white;
    text-align: right;
    border: none;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    width: 100%;
    cursor: pointer;
}

header{
    position: relative;
}

.konto-popup{
    display: none;
    position: absolute;
    top: 101%;
    right: 0;
    padding: 20px;
    background: white;
    z-index: 999;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    min-width: 350px;
}

.konto-popup-header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
}

.konto-popup-header a{
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: 0.5s ease;
}

.konto-popup-header a:hover{
    color: var(--primary-color);
}

.konto-popup-body{
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 20px 0;
}

.konto-popup-body img{
    width: 40px;
    height: 40px;
    min-width: 40px;
    object-fit: cover;
    border-radius: 50%;
}

.konto-popup-body-text{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.konto-popup-h2{
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;         
    overflow: hidden;
    text-overflow: ellipsis;
}

.konto-popup-email{
    font-size: 12px;
}

.konto-popup-anzeigen{
    font-size: 12px;
    transition: 0.5s ease;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
}

.konto-popup-anzeigen:hover{
    color: var(--primary-color);
}

.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.popup-content input, .popup-content textarea, .popup-content select {
  width: 100%;
  padding: 12px 12px 12px 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  outline: none;
  background: none;
}

.popup-content textarea{
    resize: none;
    min-height: 200px;
}

.popup-content label {
  position: absolute;
  top: -10px;
  left: 12px;
  font-size: 1rem;
  color: #999;
  pointer-events: none;
  transition: 0.2s ease all;
  padding: 0 5px;
  background: white;
}

.popup-content input:focus + label,
.popup-content input:not(:placeholder-shown) + label,
.popup-content textarea:focus + label,
.popup-content textarea:not(:placeholder-shown) + label {
  top: -8px;
  left: 8px;
  font-size: 0.8rem;
  color: var(--primary-color);
  background: white;
  padding: 0 4px;
  font-weight: 600;
}

.status-icon{
    border-radius: 50%;
    width: 30px;
    height: 30px;
}

.alle-status{
    display: none;
    position: absolute;
    top: 100%;
    background: white;
    left: 65px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.alle-status .status{
    padding: 15px;
}

.status{
    display: flex;
    flex-direction: row;
    gap: 5px;
    padding: 5px 0px 5px 60px;
    font-size: 14px;
    border-radius: 8px;
}

.status i{
    width: 25px;
    height: 25px;
    align-items: center;
    display: flex;
    font-size: 18px;
}

.status:hover{
    background: var(--secondary-color);
    cursor: pointer;
}

.status-beschreibung{
    align-items: center;
    display: flex;
}

.status-icon-header i{
    position: absolute;
    top: 65%;
    right: 40px;
    padding: 0;
    z-index: 1000;
    background: white;
    min-width: 18px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
}

.mitarbeiter-name .status-icon-header i{
    left: 30px;
    font-size: 18px;
    cursor: pointer;
    text-align: center;
}

.Zeiterfassung{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.Zeiterfassung .Zeit{
    width: 100%;
    align-items: center;
}

.Zeit #uhrzeit{
    font-size: 80px;
    font-weight: bold;
}

.Zeit #datum{
    font-weight: 200;
    font-size: 18px;
}

.check-in-info{
    background: #EBFCED;
    padding: 10px 60px;
    border-radius: 8px;
    width: 40%;
}

.check-out-info{
    background: #FEC87F;
    padding: 10px 60px;
    border-radius: 8px;
    width: 40%;
}

.pause-info{
    background: #FFEBEA;
    color: #E03632;
    padding: 10px 60px;
    border-radius: 8px;
    width: 40%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
}

.last-times, .total-hour-today{
    width: 40%;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.last-times h4, .total-hour-today h4{
    border-bottom: 0.5px solid #e9e8e8;
    padding: 10px 20px;
    text-align: left;
}

.Zeiterfassung .Check-In-Out-Buttons{
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    width: 40%;
}

.Zeiterfassung .Check-In-Out-Buttons form{
    width: calc(50% - 10px);
}

.check-in, .check-out, .check-pause{
    color: white;
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
    align-items: center;
    border: none;
    width: 100%;
    padding: 12px 12px 12px 12px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 8px;
}

.check-in{
    background: #5D9B6D;
}

.check-out{
    background: #EF7065;
}

.buchungen{
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.check-in-startzeit, .check-out-endzeit{
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: center;
}

.check-in-startzeit i, .check-out-endzeit i{
    width: 30px;
}

.letzte-Buchung-zeit{
    width: 40px;
    text-align: left;
}

.total-arbeitszeit {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 20px;
}


.total-arbeitszeit p{
    align-items: center;
    font-weight: 600;
    font-size: 24px;
    
}

/* Meine Zeitbuchungen */
#calendar {
    width: 100%;
    margin: 20px auto;
    border-radius: 10px;
}
.calendar-header {
    display: flex;
    flex-direction: row;
    padding: 20px 0;
    gap: 50px;
    align-items: center;
}

.calendar-header .search-bar{
    width: 100%;
     max-width: 600px;
}

.calendar-header .search-bar input{
    width: 100%;
}

.calendar-head-date {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    position: relative;
}

.calendar-head-date h2{
    width: 250px;
    display: flex;
    align-items: center;
}

/* .calendar-head-date button{
    background: none;
    border: none;
} */

.calendar-to-today{
    background: var(--secondary-color);
    align-items: center;
    text-align: center;
    padding: 10px 30px;
    border-radius: 8px;
}

/* .calendar-head-date button:hover {
  transform: scale(1.1);
  color: #333;
  transition: all 0.2s ease;
  cursor: pointer;
} */

.calendar-to-today button{
    font-weight: 600;
}

.dayHeader{
    padding: 10px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
}

.days {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    overflow-x: auto;
}

#calendarView, #listView{
    display: none;
}

.day {
    padding: 10px;
    font-weight: 600;
    background: white;
    border: 1px solid #ddd;
    text-align: center;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    height: 100%;
    max-width: calc(100vw / 7);
    min-height: 80px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/*
.day.today{
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.day.today .day-zahl {
    background: var(--primary-color);;
    color: white;
    border-radius: 50%;
    width: 28px;
    height: 28px;
}*/

.entry-dot {
    width: 6px;
    height: 6px;
    background-color: #013E36; /* Punktfarbe */
    border-radius: 50%;
    margin: 2px auto 0;
    display: block;
}

.day.today .entry-dot {
    background-color: white;
}

.entry-icon{
    padding: 10px;
    display: flex;
    flex-direction: row;
    text-align: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    border-radius: 8px;
    text-align: center;
    color:#222;
}

.entry-icon i{
    align-items: center;
    display: flex;
}

.genehmigt, .gebucht, .feiertag{
    border: 2px solid;
}

.fehler{
    border: 2px dashed red !important;
}

.offen, .beantragt{
    border: 2px dashed;
}

.popup table{
    padding: 10px 0;
}

.popup table td{
    padding: 10px; 
    text-align: left;
}

.popup table tr td:nth-child(5) i{
    visibility: hidden;
}

.popup table tr:hover td:nth-child(5) i{
    visibility: visible;
}

.popup table tr td:nth-child(5):hover{
    cursor: pointer;
}

.teamkalender{
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.teamkalender tr td{
    border: 0.5px solid #e9e8e8;
    max-width: 30px;
    overflow-x: hidden;
    padding-left: 10px;
}

.teamkalender tr th{
    max-width: 40px;
    min-width: 40px;
    padding: 0;
    text-align: center;
}

.teamkalender tr, .teamkalender tr:first-child{
    background: white !important;
}

.teamkalender tr th{
    text-align: center !important;
}

.teamkalender .kalenderwoche{
    border: 0.5px solid #e9e8e8;
}

.teamkalender .ruhetag{
    background: var(--secondary-color);
}

.teamkalender .beantragt{
    background-color: rgba(255, 165, 0, 0.3);
    background-image: repeating-linear-gradient(
        45deg,
        rgba(255, 165, 0, 0.2),
        rgba(255, 165, 0, 0.2) 5px,
        transparent 5px,
        transparent 10px
    );
}

.Teamkalender-Eintrag{
    display: flex;
    flex-direction: row;
    gap: 15px;
    width: max-content;
}

.message-no-access{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 80%;
    margin: 0 auto;
}

.message-no-access h2{
    text-align: center;
    padding: 10px 0;
}

.message-no-access p{
    text-align: center;
    font-size: 14px;
    line-height: 150%;
}

.message-no-access img{
    width: auto;
    object-fit: contain;
    max-height: 60vh;
}

.antraege-bereich-head{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: var(--secondary-color);
    width: 100%;
}

.antraege-bereich-header-text{
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}

.antraege-bereich-header-text-icon{
    padding: 5px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.antraege-bereich-header-text p{
    margin: 0;
}

.antrag-thumbs-down button:hover .fa-regular, .antrag-thumbs-up button:hover .fa-regular{
    display: none;
}

.antrag-thumbs-down button .fa-solid, .antrag-thumbs-up button .fa-solid{
    display: none;
}

.antrag-thumbs-down button:hover .fa-solid, .antrag-thumbs-up button:hover .fa-solid{
    display: block;
    cursor: pointer;
}

.antraege-bereich-content table tr{
    background: none !important;
}

.antraege-bereich-content table tr td, .antraege-bereich-content table tr th{
    width: auto;
    min-width: max-content;
    overflow-x: auto;
}

td.antrag-thumbs-down, td.antrag-thumbs-up{
    width: auto;
    max-width: 50px !important;
    min-width: 0px !important;
    text-align: center;
}

td.antrag-thumbs-down button, td.antrag-thumbs-up button{
    background: none;
    border: none;
}

#user-filter{
    position: absolute;
    top: 100%;
    padding: 5px 10px;
    display: none;
    flex-direction: column;
    border-radius: 8px;
    min-width: 300px;
    gap: 5px;
    padding: 10px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    z-index: 999;
    background: white;
    max-height: 300px;
    overflow: hidden;
    overflow-y: scroll;
}

.filter-icon{
    position: relative;
    height: -webkit-fill-available;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.filter-icon i{
    color: #333;
    cursor: pointer;
}

#user-filter .user-row label{
    position: relative;
    top: 0;
    left: 0;
    color: #333;
    background: none;
}

#user-filter .user-row input[type="checkbox"]{
    accent-color: var(--hover-color);
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 0.5px solid #e9e8e8;
    border-radius: 4px;
    padding: 2px;
    cursor: pointer;
    position: relative;
}

#user-filter .user-row input[type="checkbox"]:checked {
   background: var(--hover-color);
}

#user-filter .user-row input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 2px;
    border-left: 3px solid white;
    border-bottom: 3px solid white;
    transform: translate(-50%, -50%) rotate(-45deg);
}

#user-filter .user-row{
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding: 5px 0;
    align-items: center;
}

.user-auswahl-container{
    padding: 5px 0;
}

.password-container {
    background: #fff;
    padding: 40px 50px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    width: 400px;
  }
  
  .password-container h2 {
    color: var(--primary-color);
    font-size: 20px;
  }
  
  .password-container p {
    color: #555;
    font-size: 14px;
    line-height: 140%;
    padding: 10px 0 0 0;
  }

  .password-container label {
    display: block;
    font-weight: 600;
    margin-top: 20px;
    position: relative;
    padding: 0;
    top: 0;
    left: 0;
  }
  
  .password-container input {
    width: 100%;
    padding: 10px;
    margin-top: 6px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
  }

  .password-hints {
    font-size: 12px;
    color: #777;
    margin-top: 6px;
  }
  
  .strength {
    height: 6px;
    border-radius: 4px;
    margin-top: 6px;
    background-color: #eee;
  }

.strength[data-strength="1"] { background-color: #e74c3c; } /* Sehr schwach */
.strength[data-strength="2"] { background-color: #f1c40f; } /* Schwach */
.strength[data-strength="3"] { background-color: #2ecc71; } /* Mittel */
.strength[data-strength="4"] { background-color: #27ae60; } /* Sehr stark */
  .change-first-password input[type="submit"],
  .reset-password input[type="submit"]
  {
    width: 100%;
    margin-top: 30px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
  }

  .change-first-password input[type="submit"]:disabled {
    background-color: color-mix(in srgb, var(--primary-color) 60%, white);
    color: #e8f0fc;    
    cursor: not-allowed;
  }

  .password-container img{
    width: 60%;
    margin: 0 auto 20px auto;
    display: flex;
  }

  .first-password-change, .reset-password {
    font-family: "Inter", Arial, sans-serif;
    /* background-image: url('/IMG/Hintergrund_Zeiterfassung.png');
    background-repeat: no-repeat;
    background-size: contain; */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
  }

  .Uebersicht{
    display: flex;
    flex-direction: row;
    position: absolute;
    right: 0;
    gap: 20px;
    border: 1px solid #e9e8e8;
  }

  .Uebersicht div{
    display: flex;
    flex-direction: row;
    gap: 10px;
    cursor: pointer;
  }

#loader-overlay {
  background-color: var(--primary-color);
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.wing-container {
  position: relative;
  width: 300px; /* Bildbreite anpassen */
  height: auto;
  overflow: visible;
}

.wing-container img {
  width: 100%;
  display: block;
}

.cover {
  position: absolute;
  top: 0;
  width: 50%;   /* Hälfte des Bildes */
  height: 100%;
  background-color: var(--primary-color);
  z-index: 10;
  animation-duration: 2s;
  animation-fill-mode: forwards;
  animation-timing-function: ease;
}

.left-cover {
  left: 0;
  animation-name: cover-slide-left;
}

.right-cover {
  right: 0;
  animation-name: cover-slide-right;
}

@keyframes cover-slide-left {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

@keyframes cover-slide-right {
  from { transform: translateX(0); }
  to { transform: translateX(100%); }
}

.abwesenheiten-antrag{
    display: flex;
    flex-direction: column;
}

.form-line{
    display: flex;
    flex-direction: row;
}





     #loading-screen{
        display: none;
     }


/* .accordion-header{
    width: 100%;
}

.accordion-item:first-of-type>.accordion-header .accordion-button {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
} */

.accordion-body{
    padding: 0;
}

select[multiple] {
  width: 100%;
  max-width: 400px;
  height: auto;
  min-height: 150px;
  padding: 5px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  overflow-y: auto;
}

.max-w-300 {
    max-width: 300px;
}

#animatedAlertError {
  position: fixed;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1050;
  width: 90%;
  max-width: 600px;
  margin-top: -100px;
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  padding: 15px 20px;
  font-size: 1rem;
  display: none;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#animatedAlertError .alert-icon {
  font-size: 22px;
  margin-right: 10px;
  vertical-align: middle;
  color: #721c24;
}

#animatedAlertError .close {
  font-size: 20px;
  font-weight: bold;
  color: #721c24;
  opacity: 1;
  cursor: pointer;
}


#animatedAlertSuccess {
  position: fixed;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1050;
  width: 90%;
  max-width: 600px;
  margin-top: -100px;
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(21, 87, 36, 0.4);
  padding: 15px 20px;
  font-size: 1rem;
  display: none;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#animatedAlertSuccess .alert-icon {
  font-size: 22px;
  margin-right: 10px;
  vertical-align: middle;
  color: #155724;
}

#animatedAlertSuccess .close {
  font-size: 20px;
  font-weight: bold;
  color: #155724;
  opacity: 1;
  cursor: pointer;
}

}


.svg-login-illustration {
    --color-surface: #ffffff;
    --color-inner: #f9fafb;
    --color-muted: #e5e7eb;
    --color-gray: #cbd5e1;
    --color-primary: var(--primary-color);
    --color-purple: #7C3AED;
    --color-success: #10b981;
    --color-warning: #f59e0b;
}

/* Grundflächen */
.card-bg {
    fill: var(--color-surface);
}

.card-bg-inner {
    fill: var(--color-inner);
}

/* Text‑Linien, Labels */
.text-muted {
    fill: var(--color-muted);
}

/* Status‑LED / Online‑Indikator */
.status-online {
    fill: var(--color-success);
}

/* Kalender */
.day {
    fill: var(--color-gray);
}

.day.vacation {
    fill: var(--color-warning);
}

/* Urlaubs‑Bereich & Button */
.range-vacation {
    fill: var(--color-warning);
    opacity: 0.6;
}

.btn-primary {
    fill: linear-gradient(135deg, #4F8CFF 0%, #7C3AED 100%);
}

.btn-text {
    fill: var(--color-surface);
}

@media only screen and (max-width: 769px) {

    .scene {
        position: relative;
        height: 100vh;
        overflow: hidden;
        background: #f5f7fb;
    }

    /* Logos */
    .client-logo {
        max-height: 50px;
    }

    /* Button */
    #login-submit {
        width: 100%;
        padding: 12px;
        margin-top: 20px;
        border: none;
        border-radius: 8px;
        color: white;
        font-weight: bold;
        cursor: pointer;
    }

    /* Forgot */
    .forgot {
        display: block;
        margin-top: 10px;
        font-size: 14px;
        color: #666;
    }

    /* Login Card */
    .login-card {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 360px;
        padding: 20px;
        min-height: fit-content;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(12px);

        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
        text-align: center;
    }

    #left-glow {
        transform: scale(2.5) translateX(-175px) translateY(-400px);
    }

    #right-glow {
        transform: scale(2.5) translateY(-100px) translateX(-650px);
    }

    #left-svg {
        transform: scale(2.5) translateX(-225px) translateY(-200px) rotate(-5deg);
    }

    #right-center-svg {
        transform: scale(1.5) translateX(-275px) translateY(-190px) rotate(5deg);
    }

    #right-top-svg {
        transform: scale(1.5) translateX(-275px) translateY(-190px) rotate(5deg);
    }

    .svg-login-illustration {
        display: block;
        height: 100vh;
        width: 100%;
    }

}

@media only screen and (min-width: 769px) {

    .scene {
        position: relative;
        height: 120vh;
        overflow: hidden;
        background: #f5f7fb;
    }

    /* Logos */
    .client-logo {
        max-height: 50px;
    }

    /* Button */
    #login-submit {
        width: 100%;
        padding: 12px;
        margin-top: 20px;
        border: none;
        border-radius: 8px;
        color: white;
        font-weight: bold;
        cursor: pointer;
    }

    /* Forgot */
    .forgot {
        display: block;
        margin-top: 10px;
        font-size: 14px;
        color: #666;
    }

    /* Login Card */
    .login-card {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);

        width: 360px;
        padding: 10px;
        min-height: fit-content;
        max-height: 75vh;

        border-radius: 16px;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(12px);

        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
        text-align: center;
    }

    #left-glow {
        transform: translate(-550px, -200px) scale(2);
    }

    #right-glow {
        transform: scale(2.5) translateY(-300px) translateX(-500px);
    }

    #left-svg {
        transform: scale(1.5) translateX(-225px) translateY(-100px) rotate(-5deg);
    }

    #right-center-svg {
        transform: scale(1.5) translateX(-275px) translateY(-190px) rotate(5deg);
    }

    #right-top-svg {
        transform: scale(1.5) translateX(-275px) translateY(-190px) rotate(5deg);
    }

    .svg-login-illustration {
        display: block;
        height: 120vh;
        width: 100%;
    }

}



@media only screen and (min-width: 1024px) {

    /* Login Card */
    .login-card {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);

        width: 560px;
        padding: 10px;
        min-height: fit-content;
        max-height: 75vh;

        border-radius: 16px;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(12px);

        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
        text-align: center;
    }

}

@media only screen and (min-width: 1200px) {

    /* Login Card */
    .login-card {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);

        width: 560px;
        padding: 10px 20px;
        min-height: fit-content;
        max-height: 75vh;

        border-radius: 16px;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(12px);

        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
        text-align: center;
    }

}