body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

#wrapper {
    display: flex;
    width: 100%; /* full width */
    min-height: 100vh; /* full height */
}

#sidebar-wrapper {
    min-width: 220px;
    max-width: 220px;
}

#page-content-wrapper {
    flex: 1; /* take remaining space */
    padding: 20px; /* spacing */
}

.list-group-item {
    border: none;
    padding: 12px 20px;
}

    .list-group-item:hover {
        background-color: #495057;
        color: #fff;
    }

/* Full-page background for login/register */
.login-background {
    background: url('/images/mountain-climber.jpg') no-repeat center center;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Card styling for login/register forms */
.login-card {
    width: 400px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    padding: 30px;
}

    /* Headings inside login/register */
    .login-card h2 {
        font-weight: 600;
        margin-bottom: 20px;
        text-align: center;
    }

/* Buttons */
.btn-primary {
    background-color: #0069d9;
    border: none;
}

    .btn-primary:hover {
        background-color: #0056b3;
    }


/* ---------- VascoFlow application shell ----------
   The nav shell (icon rail + sliding context panel + top bar) lives in
   design-system.css under the .vf-* classes - this file now only keeps the
   shared page/form/component styles that every view still references. */
.crm-avatar-toggle { display: inline-flex; text-decoration: none; padding: 0 !important; }
.crm-avatar-toggle::after { display: none; }

/* Consistent page/form design across MVC views.
   .crm-page / .crm-page-header / .crm-card / .table / .crm-status-menu are
   now defined in design-system.css (loaded after this file), which is the
   single source of truth for those shared component styles. */
.crm-form { max-width: 1000px; }
.crm-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; }
.crm-field { margin: 0; }
.crm-field-full { grid-column: 1 / -1; }
.crm-field .form-label { margin-bottom: 7px; color: #344054; font-weight: 600; font-size: .9rem; }
.crm-field .form-control, .crm-field .form-select { min-height: 42px; border-color: #d7dee8; border-radius: .55rem; }
.crm-field textarea.form-control { min-height: 110px; resize: vertical; }
.crm-form-actions { display: flex; gap: .6rem; align-items: center; margin-top: 22px; padding-top: 18px; border-top: 1px solid #eef1f5; }
.crm-section-title { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #667085; margin: 0 0 16px; }

/* ---------- Services module (Hotels / Transport / Travel Activities) ---------- */
.crm-split-section { display: grid; grid-template-columns: 300px 1fr; gap: 28px; padding: 26px 0; border-top: 1px solid #eef1f5; }
.crm-split-section:first-child { border-top: 0; padding-top: 0; }
.crm-split-section h5 { margin: 0 0 6px; font-weight: 700; color: #172033; }
.crm-split-section > .crm-split-desc p { margin: 0; color: #667085; font-size: .88rem; }
.crm-split-fields { display: flex; flex-direction: column; gap: 16px; }
.crm-split-fields .crm-field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
@media (max-width: 860px) {
    .crm-split-section { grid-template-columns: 1fr; }
}

.crm-checkbox-group { display: flex; flex-wrap: wrap; gap: 14px; }
.crm-checkbox-group label { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: #344054; font-size: .9rem; }

.crm-repeater-item { border: 1px solid #e5eaf0; border-radius: .6rem; padding: 14px 16px; margin-bottom: 12px; position: relative; background: #fafbfc; }
.crm-repeater-item .crm-repeater-remove {
    position: absolute; top: 10px; right: 10px; border: 0; background: transparent;
    color: #b42318; font-weight: 700; cursor: pointer; font-size: .85rem;
}
.crm-repeater-add {
    border: 1px dashed #b7c3d6; background: #fff; color: #2f6fed; border-radius: .55rem;
    padding: .5rem .9rem; font-weight: 600; font-size: .88rem; cursor: pointer;
}
.crm-repeater-add:hover { background: #f1f6ff; }

.crm-richtext-toolbar { display: flex; gap: 2px; border: 1px solid #d7dee8; border-bottom: 0; border-radius: .55rem .55rem 0 0; background: #f7f9fc; padding: 4px; }
.crm-richtext-toolbar button {
    border: 0; background: transparent; width: 30px; height: 30px; border-radius: .4rem;
    color: #475467; cursor: pointer; font-weight: 700; font-size: .85rem;
}
.crm-richtext-toolbar button:hover { background: #eef1f5; color: #172033; }
.crm-richtext-body {
    min-height: 110px; border: 1px solid #d7dee8; border-radius: 0 0 .55rem .55rem;
    padding: .6rem .75rem; background: #fff; font-size: .9rem;
}
.crm-richtext-body:focus { outline: 0; border-color: #86b7fe; }
.crm-richtext-body:empty:before { content: attr(data-placeholder); color: #98a2b3; }

.crm-service-block { border: 1px solid #e5eaf0; border-radius: .75rem; padding: 20px; margin-bottom: 18px; background: #fff; }
.crm-service-block-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.crm-service-block-header h6 { margin: 0; font-weight: 700; color: #172033; }

.crm-group-tabs { display: flex; gap: .4rem; margin-bottom: 1rem; }
.crm-group-tabs a {
    border: 1px solid #d7dee8; border-radius: .5rem; padding: .35rem .85rem; font-size: .85rem;
    font-weight: 600; color: #475467; text-decoration: none;
}
.crm-group-tabs a.active { background: #eaf1ff; border-color: #b7d1ff; color: #2f6fed; }

@media (max-width: 767.98px) {
    .vf-content { padding-top: 18px; }
    .crm-page-header { flex-direction: column; }
    .crm-form-grid { grid-template-columns: 1fr; }
    .crm-field-full { grid-column: auto; }
    .crm-card-body { padding: 18px; }
}
/* Keep forms comfortable and action buttons visually consistent. */
.crm-form-grid > .btn, .crm-form-grid > a.btn { align-self: end; margin-top: 25px; }
