main > .container {
    padding: 70px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.form-group {
    margin-bottom: 1rem;
}

/* ---------------------------------------------------------------
   MDB-specific helpers
   --------------------------------------------------------------- */

/* Active album row in the Alben admin GridView */
#album-grid table tr.active-album td {
    background-color: #1db954 !important;
    color: #fff !important;
}

/* Cover image in blatt view */
.cover-thumb {
    width: 130px;
    height: 130px;
    object-fit: cover;
}

/* Play button links in grids */
a.btn-play {
    font-size: 1.2rem;
    text-decoration: none;
}

/* ---------------------------------------------------------------
   Pagination — Bridge Yii 2 output to Bootstrap 5 styles
   Yii 2 renders <ul class="pagination"><li class="active">...
   Bootstrap 5 expects page-item / page-link classes.
   --------------------------------------------------------------- */
.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
    padding-left: 0;
    list-style: none;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.pagination li a,
.pagination li span {
    display: block;
    padding: .375rem .65rem;
    font-size: .875rem;
    line-height: 1.5;
    color: #0d6efd;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: .375rem;
    text-decoration: none;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}

.pagination li a:hover {
    color: #0a58ca;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.pagination li.active a,
.pagination li.active span {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.pagination li.disabled a,
.pagination li.disabled span {
    color: #6c757d;
    background-color: #fff;
    border-color: #dee2e6;
    pointer-events: none;
}

.pagination li.prev a,
.pagination li.next a {
    font-weight: bold;
}

/* GridView summary text */
.summary {
    color: #6c757d;
    font-size: .875rem;
    margin-bottom: .5rem;
}

/* Keep action column buttons (view/edit/delete) on one line */
.grid-view td:last-child {
    white-space: nowrap;
