﻿/* --- Startpage layout --- */

.start-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
    padding: 0.5rem 0;
}

.start-dashboard-grid-item {
    display: flex;
    align-items: stretch;
    grid-column: span 2;
}

    .start-dashboard-grid-item > * {
        width: 100%;
    }

.start-dashboard-grid-loading {
    padding: 2rem 0;
    color: #888;
}

.start-dashboard-tile-content {
    flex: 1;
    overflow: auto;
    min-height: 0;
    word-break: break-word;
    overflow-wrap: break-word;
}

    .start-dashboard-tile-content > *:first-child {
        margin-top: 0;
    }

    .start-dashboard-tile-content > *:last-child {
        margin-bottom: 0;
    }

/* --- Startpage tile cards --- */

.start-dashboard-tile-card {
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    border-top: none;
    box-shadow: none;
    gap: 1rem;
    padding: 2rem 1.5rem;
}

.start-dashboard-tile-card:hover {
    text-decoration: none;
    box-shadow: none;
    filter: brightness(0.93);
}

.start-dashboard-tile-card--green {
    background: #c8e84a;
    color: #1a1a1a;
}

.start-dashboard-tile-card--blue {
    background: #5b8dba;
    color: #ffffff;
}

.start-dashboard-tile-icon {
    width: 3rem;
    height: 3rem;
    display: block;
    flex-shrink: 0;
    opacity: 1;
}

.start-dashboard-tile-label {
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
}

/* --- Startpage header --- */

.start-dashboard-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #E8F4F8;
}

    .start-dashboard-header h2 {
        margin: 0;
        font-size: 1.4rem;
        font-weight: 700;
        color: #1a1a2e;
    }

    .start-dashboard-header .icon {
        width: 1.5rem;
        height: 1.5rem;
        color: #0078d4;
        opacity: 1;
    }

/* --- GetStarted widget --- */

.getstarted-link-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.getstarted-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #0078d4;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.35rem 0.5rem;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
}

.getstarted-link:hover {
    background: #e6f2fc;
    color: #005a9e;
    text-decoration: underline;
}

.getstarted-info-text {
    font-size: 0.875rem;
    color: #444;
    padding: 0 0.5rem 0.25rem;
}
