/*
 * components.css
 *
 * Dieses Stylesheet enthält alle relevanten Component-Definitionen
 */

/* container */
.container {
    width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
}

main.login {
    justify-content: center;

    .container {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }
}

/* notification */
.notification {
    width: 1200px;
    padding: 0 20px;
    margin: var(--space-20px) auto 0 auto;
    box-sizing: border-box;

    .notification--success,
    .notification--hint,
    .notification--error {
        padding: var(--space-16px);
        border-radius: var(--space-8px);
        margin-bottom: var(--space-20px);
        font-size: var(--space-16px);
    }

    .notification--success {
        background: var(--success);
        border: 1px solid var(--green);
        color: var(--green);
    }

    .notification--hint {
        background: var(--hint);
        border: 1px solid var(--yellow);
        color: var(--yellow);
    }

    .notification--error {
        background: var(--error);
        border: 1px solid var(--red);
        color: var(--red);
    }
}

.box--lightgray {
    background-color: var(--blackFB);
    max-width: 730px;
    border: 1px solid #E8E8E8;
    border-radius: 32px;
    padding: 16px;
    box-sizing: border-box;
    margin-bottom: var(--space-16px);
}

.box--gray {
    background-color: var(--blackEO);
    max-width: 730px;
    border-radius: 32px;
    padding: 16px;
}

.box--white {
    background-color: var(--white);
    max-width: 730px;
}

/**********************/
/* übernommener Style */
/* prüf mich          */
/**********************/

/* Dashboard / Tiles */
.page-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 40px 20px;
}

.page-title {
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: #222;
}

.tiles {
    display: flex;
    gap: 40px;
}

.tile {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    width: 320px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #1a237e;
    font-weight: 600;
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
    cursor: pointer;
    text-decoration: none;
}

.tile:hover {
    box-shadow: 0 8px 32px rgba(26, 35, 126, 0.18);
    transform: translateY(-4px) scale(1.03);
}

/* Page Content */
.page-content {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    color: #444;
    font-size: 1rem;
}

.chip {
    display: inline-block;
    padding: 4px 8px;
    background-color: var(--white);
    color: var(--black55);
    border-radius: var(--base-size);
    border: 1px solid var(--black55);
    font-size: 1rem;
    white-space: nowrap;
}

.back-link {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 8px;
    background: #1a237e;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: box-shadow 0.2s, transform 0.2s, background 0.2s;
}

.back-link:hover {
    background: #0d1464;
    box-shadow: 0 4px 12px rgba(26, 35, 126, 0.2);
    transform: translateY(-2px);
}

/* Details Button */
.btn-details {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 6px;
    background: #1a237e;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: box-shadow 0.2s, transform 0.2s, background 0.2s;
    cursor: pointer;
    border: none;
}

.btn-details:hover {
    background: #0d1464;
    box-shadow: 0 4px 12px rgba(26, 35, 126, 0.2);
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 768px) {
    .tiles {
        flex-direction: column;
        align-items: center;
    }
}
