html, body {
    font-family: Rubik-Regular, Montserrat, Arial, sans-serif
}

header {
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-background {
    background: #f8f4f4;
}

.content {
    min-height: 100vh;
}

.content-width {
    max-width: 900px;
}

.steps-body-wrapper {
    padding-top: 25px;
    padding-bottom: 50px;
}

.steps-body {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    padding-bottom: 50px;
}

#blazor-error-ui {
    display: none;
    width: 100%;
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
    backdrop-filter: brightness(0.5);
    min-height: 100vh;
}

#blazor-error-alert {
    width: 340px;
    z-index: 1000;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 16px;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI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U1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) 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;
}

label {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.date-btn {
    transition: all 0.2s ease;
    width: 120px;
}

.date-btn:hover {
    transform: translateY(-2px);
}

.room-card {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
}

.room-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9em;
}

.new-price {
    color: #28a745;
    font-size: 1.5em;
    font-weight: bold;
}

.normal-price {
    font-size: 1.5em;
    font-weight: bold;
}

.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
}

.image-container {
    height: 200px;
}

.room-card-body {
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

input::placeholder {
    color: #dbd7d7 !important;
    font-size: 15px;
    font-weight: 100;
}

textarea::placeholder {
    color: #dbd7d7 !important;
    font-size: 15px;
    font-weight: 100;
}

.alert {
    border-radius: 10px !important;
    padding: 1rem !important;
}

.alert-info {
    border-left: 4px solid #0d6efd;
}

.alert-danger {
    border-left: 4px solid #dc3545;
}

.alert-warning {
    border-left: 4px solid #ea580c;
}

.btn-animated {
    transition: all 0.2s;
}

.btn-animated:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.btn {
    border-radius: 6px;
}

.steps-container {
    background-color: white;
    padding-top: 2rem;
    height: 150px;
}

.steps {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
}

.steps::after {
    content: '';
    position: absolute;
    top: 30px;
    left: 15%;
    width: 70%;
    height: 2px;
    background-color: #dee2e6;
    z-index: 1;
}

.step-item {
    position: relative;
    z-index: 2;
    flex: 1;
    text-align: center;
    padding: 0 10px;
}

.step-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #fff;
    border: 3px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.step-circle:hover {
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.step-circle i {
    font-size: 24px;
    color: #6c757d;
    transition: all 0.3s ease;
}

.step-item.active .step-circle {
    border-color: #0d6efd;
    background-color: #0d6efd;
}

.step-item.active .step-circle i {
    color: #fff;
}

.step-item.completed .step-circle {
    border-color: #198754;
    background-color: #198754;
}

.step-item.completed .step-circle i {
    color: #fff;
}

.step-title {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #495057;
    font-size: 1rem;
}

.step-item.active .step-title {
    color: #0d6efd;
}

.step-item.completed .step-title {
    color: #198754;
}

.step-description {
    font-size: 0.875rem;
    color: #6c757d;
    max-width: 150px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .steps::after {
        left: 20%;
        width: 60%;
    }

    .step-circle {
        width: 50px;
        height: 50px;
    }

    .step-circle i {
        font-size: 20px;
    }

    .step-title {
        font-size: 0.875rem;
    }

    .step-description {
        font-size: 0.75rem;
        max-width: 100px;
    }
}

@media (max-width: 480px) {
    .steps::after {
        left: 25%;
        width: 50%;
    }

    .step-description {
        display: none;
    }
}

.contact {
    margin-left: 5px;
}

.booking-header {
    background: var(--bs-primary);
    color: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.booking-header::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1));
}

.status-pill {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    backdrop-filter: blur(4px);
    font-weight: 700;
    text-align: center;
}

.status-success {
    background: rgba(255, 255, 255, 0.2);
}

.status-warning {
    background: rgba(255, 193, 7, 0.6);
}

.info-card {
    height: 100%;
}

.info-card-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.info-card-body {
    padding: 1.5rem;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: #e2e8f0;
}

.timeline-item {
    position: relative;
    padding-bottom: 1.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: var(--bs-primary);
    border: 3px solid white;
}

.guest-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    color: white;
    margin-right: 1rem;
    background: var(--bs-primary);
}

.guest-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.guest-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    transition: all 0.2s;
}

.guest-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.detail-item {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s;
    height: 100%;
}

.detail-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.detail-label {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.detail-value {
    font-weight: 500;
    font-size: 1.125rem;
}

.booking-footer {
    padding: 1rem;
    font-size: 0.875rem;
    color: #64748b;
}

.collapse-btn {
    background: none;
    border: none;
    padding: 10px;
    color: #333;
    cursor: pointer;
    text-align: left;
    width: auto;
}

.collapse-btn:hover {
    color: #0d6efd;
}

.collapse-btn::after {
    content: '▼';
    margin-left: 5px;
    font-size: 12px;
    display: inline-block;
    transition: transform 0.2s;
}

.collapse-btn[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

/* Стили для страницы логов */
.log-table pre {
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 200px;
    overflow-y: auto;
    background-color: #f8f9fa;
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid #dee2e6;
}

.log-property {
    margin-bottom: 0.25rem;
}

.log-level-verbose {
    color: #6c757d;
}

.log-level-debug {
    color: #0dcaf0;
}

.log-level-information {
    color: #198754;
}

.log-level-warning {
    color: #fd7e14;
}

.log-level-error, .log-level-fatal {
    color: #dc3545;
}

/* Header Styles */
.nav-link {
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #0d6efd !important;
}

.navbar-nav {
    height: 100%;
}

.btn-link {
    text-decoration: none;
    padding: 0;
    color: inherit;
}

.btn-link:hover {
    color: #0d6efd;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1rem;
    font-size: 15px;
    font-weight: 500;
}

.user-avatar i {
    color: #6c757d;
}

.navbar-toggler {
    padding: 0.5rem;
    font-size: 30px;
    color: #6c757d;
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.user-menu {
    position: relative;
    display: flex;
    align-items: center;
}

.user-menu-content {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.user-menu:hover .user-menu-content {
    opacity: 1;
    visibility: visible;
}

.user-name {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.logout-link {
    color: #dc3545;
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.logout-link:hover {
    color: #bb2d3b;
}

.dropdown-item {
    transition: color 0.3s ease, background-color 0.3s ease;
    color: #212529;
}

.dropdown-item:hover {
    color: #0d6efd;
    background-color: #f8f9fa;
}

.dropdown-item-text {
    color: #6c757d;
    font-size: 1rem;
}

.dropdown-item.text-danger:hover {
    color: #dc3545 !important;
    background-color: #f8f9fa;
}

.mobile-user-name {
    color: #6c757d;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 0.5rem;
}

.links-content{
    font-size: 13.6px;
    text-align: center;
}

.dropdown-item i {
    margin-right: 0.5rem;
}

@media (max-width: 991.98px) {
    .user-menu {
        display: none;
    }

    .nav-link {
        padding: 0.75rem 1rem;
    }
} 
