﻿/* =========================================================
   CleanDation – Kontoverwaltung
   ========================================================= */


/* =========================================================
   Grundlayout
   ========================================================= */

.account-manage-page {
    width: 100%;
    max-width: 820px;
    margin: 0;
    padding-bottom: 3rem;
}


/* =========================================================
   Seitenkopf
   ========================================================= */

.account-manage-header {
    margin-bottom: 1.5rem;
}


    .account-manage-header h1 {
        margin: 0;
        font-size: 2rem;
        font-weight: 700;
    }


    .account-manage-header p {
        margin: 0.35rem 0 0;
        color: var(--cleandation-text-muted);
        font-size: 0.95rem;
    }


/* =========================================================
   Tabs
   ========================================================= */

.account-manage-tabs {
    width: 100%;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--cleandation-border);
}


.account-manage-nav {
    display: flex;
    align-items: flex-end;
    gap: 0;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
}


.account-manage-nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 44px;
    margin-bottom: -1px;
    padding: 0.65rem 1rem;
    color: #64748b;
    border: 1px solid transparent;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}


    .account-manage-nav-link:hover {
        color: var(--cleandation-primary);
        background-color: #f6f9ff;
        text-decoration: none;
    }


    .account-manage-nav-link.active {
        color: var(--cleandation-primary);
        background-color: #ffffff;
        border-color: var(--cleandation-border);
        border-bottom-color: #ffffff;
    }


/* =========================================================
   Inhalt
   ========================================================= */

.account-manage-content {
    width: 100%;
    max-width: 720px;
}


    .account-manage-content > h3 {
        margin: 0 0 0.35rem;
        font-size: 1.45rem;
        font-weight: 700;
    }


    .account-manage-content > .text-muted {
        margin-bottom: 1.25rem;
    }


    /* =========================================================
   Formulare
   ========================================================= */

    .account-manage-content .row {
        margin: 0;
    }


        .account-manage-content .row > * {
            width: 100%;
            max-width: none;
            padding-left: 0;
            padding-right: 0;
        }


    .account-manage-content .form-control {
        min-height: 48px;
    }


    .account-manage-content .btn-primary {
        min-height: 44px;
    }


    .account-manage-content form {
        width: 100%;
    }


/* =========================================================
   Smartphone
   ========================================================= */

@media (max-width: 767.98px) {

    .account-manage-page {
        max-width: none;
        padding-bottom: 2rem;
    }


    .account-manage-header {
        margin-bottom: 1rem;
    }


        .account-manage-header h1 {
            font-size: 1.75rem;
        }


    .account-manage-tabs {
        margin-bottom: 1.25rem;
    }


    .account-manage-nav {
        -webkit-overflow-scrolling: touch;
    }


    .account-manage-nav-link {
        min-height: 46px;
        padding-left: 0.9rem;
        padding-right: 0.9rem;
    }


    .account-manage-content {
        max-width: none;
    }


        .account-manage-content .btn-primary {
            width: 100%;
            min-height: 48px;
        }
}
