/* Einfaches Dashboard CSS Design */

/* Haupt-Container */
.dashboard-index-container {
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
}

/* Scrollbarer Apps-Bereich */
.dashboard-apps-scroll {
    flex: 1;
    overflow-y: auto;
    padding-right: 4px;
}

.dashboard-apps-scroll::-webkit-scrollbar {
    width: 6px;
}

.dashboard-apps-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.dashboard-apps-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

/* Willkommens-Banner Container */
.dashboard-index-container h4 {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 25px 40px;
    margin: 0 0 40px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.dashboard-index-container h4::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.dashboard-index-container h4:hover::before {
    left: 100%;
}

/* Willkommens-Text */
.dashboard-index-container h4 {
    color: white;
    font-weight: 300;
    font-size: 2rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

/* Grid für die Apps */
.own-apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    width: 100%;
}

/* Wrapper für jede App */
.app_wrapper {
    text-align: center;
}

/* Link-Styling */
.app_wrapper a {
    text-decoration: none;
    color: white;
    display: block;
    transition: transform 0.2s ease;
}

.app_wrapper a:hover {
    text-decoration: none;
    color: white;
    transform: translateY(-5px);
}

/* Icon-Container */
.app_icon {
    width: 120px;
    height: 120px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Hover-Effekt für Icon */
.app_icon:hover {
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}

/* App-Icon Bild */
.dashboard-index-app-icon {
    width: 60px;
    height: 60px;
}

/* App-Titel */
.app_title {
    font-size: 16px;
    font-weight: 500;
    color: white;
    margin-top: 15px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Responsive Design für kleinere Bildschirme */
@media (max-width: 768px) {
    .own-apps-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 20px;
    }

    .app_icon {
        width: 100px;
        height: 100px;
    }

    .dashboard-index-app-icon {
        width: 50px;
        height: 50px;
    }

    .app_title {
        font-size: 14px;
    }
}