/* General Site */

html, body {
    font-family: Georgia, Garamond, 'Times New Roman', serif;
    background-color: #272323;
    background-repeat: repeat;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

.page {
    display: flex;
}

a, .btn-link {
    color: #006bb7;
}

#app {
    min-height: 100%;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
}

.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+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA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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;
}

.custom-loader {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    color: #aaa;
}

.policy-footer-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 20px;
    color: whitesmoke;
}

.policy-footer-container-item {
    margin: 0 50px;
}

.policy-footer-container a {
    text-decoration: none;
}

/* Navigation bar */

.main-logo {
    height: 145px;
}

.custom-nav {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    min-height: 100px;
    background-color: black;
    padding: 0 1rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.navbar-toggler {
    display: none;
}

.hamburger {
    display: none;
    font-size: 28px;
    color: whitesmoke;
    cursor: pointer;
}

    .hamburger:hover {
        color: gold;
        transition: all 0.3s ease;
    }

@media (max-width: 768px) {

    .custom-nav {
        position: relative;
        flex-wrap: wrap;
    }

    .nav-links {
        width: 100%;
        max-height: 0;
        transition: max-height 0.3s ease;
        flex-direction: column;
        background-color: black;
        text-align: center;
        overflow: hidden;
    }

    .navbar-toggler:checked ~ .nav-links {
        max-height: 500px;
        padding-bottom: 1rem;
    }

    .hamburger {
        display: block;
        font-size: 30px;
        color: white;
        cursor: pointer;
    }
}

.custom-nav-item {
    text-decoration: none;
    font-size: 18px;
    border-radius: 1px;
    padding: 4px;
}

    .custom-nav-item:hover {
        color: gray;
        transition: all 0.2s ease;
    }

.custom-nav-link {
    color: white;
}

    .custom-nav-link:hover {
        color: gold;
        transition: all 0.2s ease;
    }


.policy-text {
    color: white;
    line-height: 32px;
}

/* Pages */

.carousel-container {
    display: flex;
    flex-shrink: 1;
    max-width: 700px;
    min-height: 70vh;
    margin: auto;
    position: relative;
    text-align: center;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.slide {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
}

    .slide.active {
        display: block;
    }

    .slide img {
        position: relative;
        width: 100%;
        height: 80vh;
        object-fit: contain;
        z-index: 0;
    }

.caption-text {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -55%);
    color: #e8e9d2;
    background-color: rgba(90, 87, 87, 0.7);
    border-radius: 2px;
    padding: 4px;
    z-index: 1;
}


.fade {
    animation: fadeInOut 4s ease-in-out infinite;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
    }

    25% {
        opacity: 1;
    }

    75% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
}

.button-container-item {
    color: whitesmoke;
    padding: 20px;
    margin: 10px;
    border-radius: 2px;
}

.homepage-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #414040;
}

.homepage-container-item {
    color: whitesmoke;
    padding: 20px;
    margin: 10px;
    border-radius: 2px;
}

.homepage-container-item-box {
    background-color: rgba(0, 0, 0, 0.1);
    padding: 20px;
    min-width: 200px;
    border-radius: 4px;
}

    .homepage-container-item-box:hover {
        background-color: rgba(95, 95, 95, 0.3);
        transition: all 0.3s ease-in-out;
    }

.barber-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.barber-card {
    text-align: center;
    padding: 10px;
    border: 1px solid #ccc;
    margin: 50px;
    width: 25rem;
    min-height: 35rem;
    background-color: rgba(3, 3, 2, 0.8);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .barber-card:hover {
        box-shadow: 4px 8px 8px rgba(200, 200, 200, 0.2);
        transform: translateY(-4px);
    }

.barber-card-item {
    padding-bottom: 10px;
    color: whitesmoke;
}


.barber-card img {
    border-radius: 4px;
    object-fit: contain;
}

.barberpage-title-container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    min-height: 78vh;
    background-color: #191919;
    text-align: center;
    border-radius: 4px;
}

.barberpage-title-text {
    color: whitesmoke;
    max-width: 600px;
    padding: 1rem;
    font-size: 20px;
}

.gold-button {
    background: gold;
    color: black;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .gold-button:hover {
        box-shadow: 0 8px 12px rgba(183, 179, 140, 0.2);
        transform: translateY(-4px);
    }

.admin-navigate-button {
    color: gray;
}

.day-selector {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin-bottom: 16px;
}

.day-chip {
    min-width: 60px;
    padding: 10px;
    border-radius: 10px;
    border: none;
    background: #9b9797;
    color: black;
    text-align: center;
}

    .day-chip.active {
        background: gold;
    }

.timeslot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.time-pill {
    padding: 12px;
    border-radius: 10px;
    border: none;
    background: #3b639f;
    color: white;
    font-size: 16px;
}

    .time-pill:active {
        transform: scale(0.95);
    }

    .time-pill.selected {
        background: #26b050;
    }

    .time-pill.disabled {
        background: gray;
    }

@media (min-width: 768px) {

    .time-pill {
        padding: 12px;
        border-radius: 10px;
        border: none;
        background: #3b639f;
        color: white;
        font-size: 16px;
    }

        .time-pill:active {
            transform: scale(0.95);
        }

        .time-pill.selected {
            background: #26b050;
            width: 500px;
        }
}

.reserved {
    color: red;
}

.unavailable {
    color: gray;
}

.booking-summary {
    margin-top: 20px;
    padding: 50px;
    background-color: rgba(0,0,0,0.1);
    border-radius: 5px;
    color: white;
}

    .booking-summary p {
        font-size: 18px;
    }

.booking-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.booking-text {
    color: white;
    font-weight: bold;
}

.booking-image {
    width: 325px;
    border: double;
    margin-bottom: 25px;
}

.selection {
    display: flex;
    flex-wrap: wrap;
}

@media (max-width: 767px) {
    .selection {
        margin: 0 50%;
    }
}

.selection-item {
    border: 1px solid #ccc;
    border-radius: 16px;
    padding: 4px;
    margin: 4px;
    color: white;
    width: 140px;
    height: 190px;
}

    .selection-item img {
        width: 100px;
        height: 100px;
        object-fit: contain;
        border-radius: 8px;
    }

    .selection-item:hover {
        transition: all 0.2s ease;
        background-color: white;
        color: black;
    }


.selected {
    border: 1px solid #ccc;
    border-radius: 16px;
    padding: 4px;
    margin: 4px;
    color: white;
    width: 140px;
    height: 190px;
    color: black;
    background-color: white;
}

    .selected img {
        width: 100px;
        height: 100px;
        object-fit: contain;
        border-radius: 8px;
    }

/* Footer */

.footer-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #191919;
    margin-top: 20px;
}

.footer-container-item {
    color: whitesmoke;
    padding: 50px;
    margin: 10px;
    border-radius: 2px;
}

    .footer-container-item p {
        padding-bottom: 20px;
        padding-top: 8px;
    }


/* Admin */

.admin-page {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 250px;
    background-color: #111;
    color: white;
    border-right: 1px solid #333;
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.mobile-topbar {
    display: none;
    width: 100%;
    background-color: #111;
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
    flex-direction: column; /* stack row and collapse vertically */
}

.mobile-topbar-row {
    display: flex;
    align-items: center;
    padding: 0 1rem;
    height: 56px;
}

@media (max-width: 767px) {
    .admin-page {
        flex-direction: column;
    }

    .sidebar {
        display: none;
    }

    .mobile-topbar {
        display: flex;
    }
}

.admin-hamburger {
    display: block;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    margin-left: auto;
}

.admin-brand {
    color: white;
    font-weight: bold;
}

.main-content {
    width: 100%;
    background-color: #f8f9fa;
}

.content {
    padding-top: 1rem;
}

.dashboard-container {
    display: flex;
    flex-shrink: 1;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.dashboard-items {
    min-width: 80px;
    align-self: center;
}

.custom-dashboard-button {
    font-size: 22px;
    width: 175px;
    height: 150px;
}

.dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}


.dialog-box {
    background: white;
    padding: 20px;
    border-radius: 8px;
    min-width: 300px;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.admin-form {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    overflow-x: auto;
}

.admin-form-item {
    margin-top: 10px;
}