﻿/*.required {
    color: #dc3545;
    margin-left: 4px;
}

.section-title {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

h2, .form-label {
    color: white;
}*/

html, body {
    min-height: 100%;
}

body {
    background: radial-gradient(circle at top left, rgba(180, 30, 45, 0.20), transparent 35%), radial-gradient(circle at top right, rgba(255, 255, 255, 0.05), transparent 30%), linear-gradient(135deg, #0b0d10 0%, #11151b 50%, #0b0d10 100%);
    color: #f5f7fa;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.dubgang-page {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.dubgang-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.65), transparent);
}

.hero-card,
.form-card {
    background: rgba(15, 19, 24, 0.82);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.03);
    backdrop-filter: blur(16px);
}

.hero-card {
    padding: 2rem;
}

.form-card {
    padding: 2rem;
}

.dubgang-logo {
    max-width: 360px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 24px rgba(0,0,0,0.25));
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem .85rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: #d8dee8;
    font-size: .9rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.05;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1.08rem;
    line-height: 1.7;
    color: #c8d0db;
    margin-bottom: 0;
}

.form-label {
    color: #f1f4f8;
    margin-bottom: .55rem;
    font-size: .98rem;
    letter-spacing: .01em;
}

.required {
    color: #ff4d5a;
    font-weight: 700;
}

.input-dark {
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    color: #ffffff !important;
    border-radius: 18px !important;
    box-shadow: none !important;
    transition: all .18s ease;
}

    .input-dark::placeholder {
        color: #9ca7b5;
    }

    .input-dark:focus {
        background: rgba(255,255,255,0.08) !important;
        border-color: rgba(255, 77, 90, 0.9) !important;
        box-shadow: 0 0 0 .2rem rgba(255, 77, 90, 0.18) !important;
        color: #ffffff !important;
    }

.textarea-dark {
    min-height: 135px;
    resize: vertical;
}

.file-dark {
    padding: .75rem 1rem;
}

select.input-dark {
    color: #ffffff !important;
    background: rgba(255,255,255,0.06) !important;
}

select.input-dark option {
    color: #000000;
    background: #ffffff;
}

/* Některé prohlížeče částečně respektují */
select.input-dark option:hover,
select.input-dark option:focus,
select.input-dark option:checked {
    background: #c61f2b;
    color: #ffffff;
}

.section-separator {
    height: 1px;
    background: linear-gradient(90deg, rgba(255,77,90,0), rgba(255,77,90,.6), rgba(255,255,255,0.05));
    margin-top: .5rem;
    margin-bottom: 1.25rem;
}

.section-title {
    font-size: 1.45rem;
    font-weight: 750;
    margin-bottom: .2rem;
    color: #ffffff;
}

.validation-box ul {
    margin-bottom: 0;
}

.btn-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 0 2rem;
    border: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, #ff4d5a 0%, #b91526 100%);
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: .02em;
    box-shadow: 0 16px 35px rgba(185, 21, 38, 0.35);
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

    .btn-register:hover {
        transform: translateY(-1px);
        box-shadow: 0 20px 40px rgba(185, 21, 38, 0.45);
        color: #ffffff;
    }

    .btn-register:active {
        transform: translateY(0);
    }





    /* ADMINISTRACE **************************************************************** */

.admin-page {
    width: 100%;
    max-width: 100%;
}

.admin-card-full {
    width: 100%;
}

.admin-card {
    background: rgba(15, 19, 24, 0.9);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.admin-card-header {
    padding: 1.25rem 1.5rem;
    background: rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.admin-title {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 800;
}

.admin-table-wrapper {
    width: 100%;
    max-width: 100%;
    max-height: calc(100vh - 180px);
    overflow: auto;
}

.admin-table {
    width: 100%;
    min-width: 1600px;
    color: #fff;
    table-layout: auto;
}

    .admin-table thead th {
        position: sticky;
        top: 0;
        z-index: 2;
        background: #141920;
        color: #fff;
        border-bottom: 1px solid rgba(255,255,255,0.12);
        white-space: nowrap;
    }

    .admin-table tbody tr:nth-child(odd) {
        background: rgba(255,255,255,0.03);
    }

    .admin-table tbody tr:nth-child(even) {
        background: rgba(255,255,255,0.07);
    }

    .admin-table tbody tr:hover {
        background: rgba(255, 77, 90, 0.16);
    }




    .admin-table tbody tr.row-approved {
        background: rgba(116, 196, 0, 0.8) !important;
    }

    .admin-table tbody tr.row-rejected {
        background: rgba(202, 30, 30, 0.8) !important;
    }

    .admin-table tbody tr.row-approved:hover {
        background: rgba(40, 167, 69, 0.28) !important;
    }

    .admin-table tbody tr.row-rejected:hover {
        background: rgba(220, 53, 69, 0.24) !important;
    }



/*    .admin-table td,
    .admin-table th {
        padding: 0.9rem 1rem;
        vertical-align: middle;
        border-color: rgba(255,255,255,0.08);
    }*/

    .admin-table td,
    .admin-table th {
        white-space: nowrap;
    }

.clickable-row {
    cursor: pointer;
}

.detail-box {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 1.25rem;
    color: #fff;
}

.detail-row {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

    .detail-row:last-child {
        border-bottom: 0;
    }

.admin-photo {
    width: 100%;
    display: block;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    object-fit: cover;
    max-height: 420px;
    background: #111;
}



.admin-status-alert {
    margin: 1rem 1.5rem 0 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: 16px;
    font-weight: 600;
    border: 1px solid transparent;
}

    .admin-status-alert.success {
        background: rgba(40, 167, 69, 0.18);
        border-color: rgba(40, 167, 69, 0.35);
        color: #d8f5df;
    }

    .admin-status-alert.warning {
        background: rgba(255, 193, 7, 0.16);
        border-color: rgba(255, 193, 7, 0.35);
        color: #fff1c2;
    }











.gallery-photo {
    cursor: zoom-in;
    width: 100%;
    object-fit: contain;
    background: #0f1115;
}

.photo-lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    padding: 2rem;
}

    .photo-lightbox.open {
        display: flex;
    }

.lightbox-content-wrap {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    object-fit: contain;
    background: #111;
}

.lightbox-close {
    position: absolute;
    top: 18px;
    right: 24px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 3rem;
    line-height: 1;
    cursor: pointer;
    z-index: 10001;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev {
    left: 24px;
}

.lightbox-next {
    right: 24px;
}

.lightbox-nav:hover,
.lightbox-close:hover {
    opacity: 0.85;
}

body.lightbox-open {
    overflow: hidden;
}
















@media (max-width: 991.98px) {
    .hero-card,
    .form-card {
        padding: 1.35rem;
        border-radius: 22px;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .dubgang-logo {
        max-width: 290px;
    }
}