﻿html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.col-md-5 {
    position: relative;
    margin-top: -10%;
}

.info-bottom-right {
    border-top: 2px solid #D9D9D9;
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    text-align: center;
    padding-top: 10px;
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.5);
}


.img-leftside {
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-image: url('images/camera.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.login-top-image img {
    width: 100%;
    max-height: 150px;
    object-fit: cover;
    margin-bottom: 20px;
}

.login-form-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-control {
    border: 1px solid #d9d9d9;
}

    .form-control:focus {
        border-color: #ef7f1a;
        box-shadow: 0 0 0 0.2rem #ef7f1a;
    }

    .form-control:-webkit-autofill,
    .form-control:-webkit-autofill:hover,
    .form-control:-webkit-autofill:focus,
    .form-control:-webkit-autofill:active {
        -webkit-box-shadow: 0 0 0 30px white inset !important;
        border-color: #d9d9d9 !important;
    }

        .form-control:-webkit-autofill:focus {
            -webkit-box-shadow: 0 0 0 30px white inset, 0 0 0 0.2rem orange !important;
            border-color: #d9d9d9 !important;
        }


.btn-primary {
    border-color: #d9d9d9;
    background-color: #ef7f1a;
}

    .btn-primary:hover, .btn-primary:focus {
        border-color: #ef7f1a;
        box-shadow: 0 0 0 0.2rem orange;
        background-color: #ef7f1a;
    }

.autoid-link {
    color: darkorange;
    text-decoration: none;
}

    .autoid-link:hover, .autoid-link:focus {
        color: orange;
        text-decoration: none;
    }

.bottom-text {
    color: #434343;
    font-weight: normal;
}

@media (max-width: 768px) { /*Obs³uga ma³ych ekranów*/
    .img-leftside {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        height: auto;
        min-height: 100vh;
    }

        .img-leftside img {
            position: absolute;
            top: 0;
            left: 0;
            height: 100vh;
        }

    .col-md-5 {
        top: 35%;
        position: absolute;
        background-color: rgba(255, 255, 255, 0.7);
        border-radius: 10px;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    .info-bottom-right {
        display: none;
    }
}

.custom-tabs .nav-tabs {
    border-bottom: 1px solid #dee2e6;
    background-color: #161a1e;
}

.custom-tabs .nav-item {
    margin-bottom: -1px;
}

.custom-tabs .nav-link {
    border: 1px solid transparent;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    color: #6978f9;
    padding: 0.5rem 1rem;
    background-color: transparent;
}

    .custom-tabs .nav-link:hover {
        border-color: #e9ecef #e9ecef #dee2e6;
    }

    .custom-tabs .nav-link.active {
        color: #ff6600;
        background-color: transparent;
        border-color: transparent transparent #ff6600 transparent;
        border-bottom-width: 4px;
    }

.custom-tabs .tab-content {
    border: 1px solid #dee2e6;
    border-top: none;
    padding: 1rem;
}

.smooth-radius {
    border-radius: 5px;
    overflow: hidden;
}

.custom-input-container {
    text-align: center;
    margin-bottom: 15px;
}

    .custom-input-container label {
        display: block;
        font-weight: bold;
        margin-bottom: 5px;
        color: white;
    }

    .custom-input-container input[type="text"] {
        width: 100%;
        padding: 10px;
        font-size: 1.5rem;
        color: #ffffff;
        border: 1px solid #444;
        border-radius: 5px;
        text-align: center;
        box-shadow: none;
        outline: none;
    }

#registrationInput {
    background-color: #22262a;
    font-size: 2rem;
    border: none;
}

#correctionInput {
    background-color: #373e46;
    color: #ffffff;
    font-size: 1.5rem;
}

.custom-note {
    font-size: 0.875rem;
    color: #aaaaaa;
}

.navbar-separator {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
}

.table-custom {
    color: white;
}

    .table-custom th,
    .table-custom td {
        background-color: #111417;
        color: white;
    }

    .table-custom tr:hover td {
        background-color: #373e46;
        color: white;
    }

.custom-header {
    background-color: #293241;
    color: white;
}

.table-custom thead th {
    background-color: #293241;
    color: white;
}

@media (max-width: 768px) {

    .custom-input-container {
        margin-bottom: 1rem;
    }

    .text-center {
        text-align: center !important;
    }
}

@media (min-width: 768px) and (max-width: 1817px) {

    .custom-input-container {
        margin-bottom: 1rem;
    }

    .text-center {
        text-align: center !important;
    }

    .row.g-3 .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
    }

    .col-md-6.mb-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (min-width: 1818px) {
    .row.g-3 .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
        text-align: left;
    }

    .col-md-6.mb-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

.custom-navbar-color {
    background-color: #343a40;
}

.logo-container {
    flex-grow: 1;
    flex-shrink: 1;
}

.logo-image {
    width: 50%;
    max-width: 300px;
    height: auto;
}

@media (max-width: 768px) {
    .logo-image {
        max-width: 100px;
    }

    .login-top-image {
        margin-top: 0;
        margin-left: 0;
    }

    .navbar .d-flex.align-items-center.ms-auto.flex-nowrap {
        flex-grow: 1;
        flex-shrink: 1;
        justify-content: flex-end;
    }

    .custom-button {
        flex-shrink: 1;
    }
}

.responsive-iframe {
    width: 100%;
    height: 100%;
    min-height: 200px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

@media (max-width: 768px) {
    .responsive-iframe {
        min-height: auto;
        height: auto;
        width: 100vw;
        height: auto;
        max-height: 100vh;
        overflow: hidden;
    }
}

.left-side-column-button {
    font-size: 1.25rem;
    width: 100%;
}

@media (max-width: 768px) {
    .left-side-column-button {
        font-size: 1rem;
        padding: 10px;
        margin-top: 10px;
    }
}

.right-side-column-button {
    font-size: 1.25rem;
    width: 100%;
    background-color: #2b3499;
}

@media (max-width: 768px) {
    .right-side-column-button {
        font-size: 1rem;
        padding: 10px;
        margin-top: 10px;
        background-color: #2b3499;
    }
}


@media (max-width: 576px) {
    #eventDescription {
        display: none;
    }

    #statusInput {
        font-size: 1.2rem;
    }
}