:root {
    --main-accent-color: #ff6b00;
    --main-accent-faded-color: #e65c00;
}

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

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #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+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: absolute;
    display: block;
    width: 8rem;
    height: 8rem;
    inset: 20vh 0 auto 0;
    margin: 0 auto 0 auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #FFA15D;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

html, body {
    height: 100%;
    margin: 0;
    font-family: 'Merriweather', serif;
    background: #1C1A19;
    color: #F2EDE9;
}

button {
    font-family: 'Merriweather', serif;
}

.content {
    padding-top: 75px;
}

h1 {
    margin-bottom: 16px;
    font-size: 32px;
}

a {
    color: white;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:visited {
    color: #e0e0e0;
}

.link-button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: white;
    cursor: pointer;
    font: inherit;
}

    .link-button:hover {
        text-decoration: underline;
    }

.logout-button {
    margin-left: 16px !important;
    font-size: 16px !important;
}

.container {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card {
    text-align: center;
    padding: 40px 32px;
    border-radius: 16px;
    background: #292523;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    max-width: 580px;
}

.subtitle {
    opacity: 0.8;
    margin-bottom: 20px;
}

.status span {
    font-weight: bold;
    color: #FFA15D;
}

.time {
    margin-top: 20px;
    font-size: 12px;
    opacity: 0.5;
}

.links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 16px;
}

.about-card {
    max-width: 560px;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 24px;
}

.about-image {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
}

.about-text {
    text-align: left;
}

    .about-text h2 {
        margin-top: 0;
        margin-bottom: 12px;
    }

    .about-text p {
        opacity: 0.8;
        margin-bottom: 10px;
        line-height: 1.4;
    }

.back {
    display: inline-block;
    margin-top: 12px;
    font-size: 16px;
    opacity: 0.5;
}

.contacts-card {
    max-width: 560px;
}

.contacts-content {
    display: flex;
    align-items: center;
    gap: 24px;
    text-align: left;
}

    .contacts-content h2 {
        margin-top: 0;
        margin-bottom: 16px;
        text-align: center;
    }

.contact-list p {
    margin: 8px 0;
    opacity: 0.85;
}

.contact-list span {
    font-weight: bold;
    color: #FFA15D;
    margin-right: 6px;
}

.contact-list a {
    color: #F2EDE9;
    text-decoration: none;
    opacity: 0.8;
}

    .contact-list a:hover {
        opacity: 1;
        text-decoration: underline;
    }

.contacts-image {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
}

.auth-card {
    width: 100%;
    max-width: 520px;
}

.auth-content {
    text-align: left;
}

    .auth-content h2 {
        margin-top: 0;
        margin-bottom: 12px;
        text-align: center;
    }

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 16px;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .auth-field label {
        font-size: 14px;
        opacity: 0.85;
    }

.auth-input {
    background: #3b3330;
    color: #f2ede9;
    border: 1px solid #5a4f4a;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 15px;
    font-family: 'Merriweather', serif;
}

    .auth-input:focus {
        outline: 1px solid var(--main-accent-color);
        border-color: var(--main-accent-color);
    }

.auth-button {
    margin-top: 8px;
    background: var(--main-accent-color);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s ease;
}

    .auth-button:hover {
        background: var(--main-accent-faded-color);
    }

.auth-status {
    margin-top: 16px;
    color: #ffa15d;
    font-size: 14px;
}

.auth-links {
    margin-top: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}

    .auth-links a {
        opacity: 0.8;
    }

        .auth-links a:hover {
            opacity: 1;
        }

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: #373230;
    color: white;
    padding: 16px 0;
    font-size: 18px;
}

.header-container {
    margin-left: 10rem;
    margin-right: 10rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav a {
    color: white;
    margin-left: 16px;
    text-decoration: none;
    font-size: 16px;
}

    .nav a:hover {
        text-decoration: underline;
    }

.hero {
    text-align: center;
    padding: 40px 0;
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    color: #b9b9b9;
    max-width: 800px;
    margin: 30px auto 50px auto;
}

.hero-button {
    background: var(--main-accent-color);
    color: white;
    border: none;
    padding: 14px 28px;
    font-size: 18px;
    border-radius: 8px;
    cursor: pointer;
}

    .hero-button:hover {
        background: var(--main-accent-faded-color);
    }

.accent {
    text-decoration: underline;
}

.style-section {
    background: #3b3330;
    padding: 50px 0;
    margin-top: 40px;
}

.style-title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 40px;
    letter-spacing: 1px;
    margin-top: 0;
}

.style-cards {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.style-card {
    background: #69615d;
    width: 250px;
    height: 210px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

    .style-card:hover {
        transform: translateY(-5px);
        border-color: #ffa666;
    }

    .style-card.selected {
        border-color: #ff6b00;
        background: #fff7f0;
    }

.style-icon {
    height: 150px;
    margin-bottom: 12px;
}

.style-text {
    font-size: 16px;
    font-weight: 600;
}

.how-section {
    padding: 120px 0 80px 0;
}

.how-steps {
    display: flex;
    justify-content: center;
    gap: 100px;
}

.how-step {
    flex: 1;
    text-align: center;
    max-width: 450px;
    font-size: 18px;
}

.step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    background: #69615d;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 22px;
}

.trips-section {
    padding: 0 10rem;
    margin-bottom: 80px;
}

.trips-title {
    font-size: 26px;
    margin-bottom: 30px;
}

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

.trips-page {
    padding: 0 10rem 80px 10rem;
}

.trips-layout {
    display: grid;
    grid-template-columns: 295px 1fr;
    gap: 40px;
    align-items: start;
}

.trips-filters {
    background: #292523;
    border-radius: 14px;
    padding: 22px 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
    position: sticky;
    top: 138px;
}

    .trips-filters h2 {
        margin-top: 0;
        margin-bottom: 16px;
        font-size: 24px;
    }

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    opacity: 0.9;
}

    .filter-checkbox input[type="checkbox"]:checked {
        accent-color: var(--main-accent-color);
    }

.trips-results .trips-title {
    margin-top: 0;
}

/* Карточка */
.trip-card {
    background: #3b3330;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Картинка */
.trip-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* Контент */
.trip-content {
    padding: 16px;
}

.trip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

/* Название */
.trip-name {
    font-weight: 600;
    font-size: 18px;
}

/* Дата */
.trip-date {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 6px;
    flex-shrink: 0;
    white-space: nowrap;
    background: #554e4b;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    color: white;
}

/* Описание */
.trip-description {
    font-size: 16px;
    color: #b9b9b9;
}

/* Футер */
.trip-footer {
    margin: auto 8px 8px 8px;
    padding: 12px 16px;
    background: var(--main-accent-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: white;
    border-radius: 12px;
    cursor: pointer;
}

.trip-footer:hover {
    background: var(--main-accent-faded-color);
}

.match {
    font-weight: bold;
    color: white;
}

.cta-section {
    background: #3b3330;
    padding: 80px 0;
}

.cta-content {
    margin: 0 auto;
    text-align: center;
}

.cta-line {
    height: 4px;
    background: white;
    margin: 20px auto;
    width: 90%;
}

.cta-title {
    font-size: 26px;
    letter-spacing: 1px;
    margin: 30px 0;
    color: white;
}

.cta-button {
    background: var(--main-accent-color);
    color: white;
    border: none;
    padding: 14px 30px;
    font-size: 18px;
    border-radius: 8px;
    cursor: pointer;
    margin: 20px 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

    .cta-button:hover {
        background: var(--main-accent-faded-color);
    }

.survey-page {
    max-width: 980px;
    margin: 0 auto;
    padding: 40px 16px 56px;
}

.survey-header {
    margin-bottom: 24px;
    text-align: center;
}

.survey-title {
    margin: 0 0 10px;
    font-size: 36px;
    font-weight: 700;
}

.survey-subtitle {
    margin: 0 auto;
    color: #b9b9b9;
    font-size: 18px;
    max-width: 760px;
}

.survey-card {
    text-align: left;
    border-radius: 16px;
    background: #292523;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    padding: 32px;
    min-height: 420px;
    display: flex;
    flex-direction: column;
}

.survey-progress {
    color: #8e8581;
    margin-bottom: 14px;
    font-size: 14px;
    letter-spacing: 0.3px;
}

.survey-question-text {
    margin: 0 0 20px;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.2;
}

.survey-options {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}

.survey-option {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #5a4f4a;
    border-radius: 12px;
    background: #3b3330;
    padding: 14px 16px;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.survey-option:hover {
    border-color: var(--main-accent-color);
    transform: translateY(-1px);
}

.survey-option input {
    margin: 0;
    accent-color: var(--main-accent-color);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.survey-option-text {
    line-height: 1.35;
}

.survey-status {
    color: #ffa15d;
    margin: 0 0 12px;
    font-size: 15px;
}

.survey-actions {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.survey-button {
    border: none;
    border-radius: 8px;
    padding: 12px 18px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    min-width: 165px;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.survey-button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.survey-button-primary {
    background: var(--main-accent-color);
    color: white;
}

.survey-button-primary:hover:enabled {
    background: var(--main-accent-faded-color);
}

.survey-button-secondary {
    background: transparent;
    color: #f2ede9;
    border: 1px solid #5a4f4a;
}

.survey-button-secondary:hover:enabled {
    border-color: var(--main-accent-color);
    color: white;
}

.survey-result {
    min-height: 300px;
    justify-content: center;
    text-align: center;
    gap: 10px;
}

@media (max-width: 768px) {
    .survey-page {
        padding: 24px 14px 40px;
    }

    .survey-title {
        font-size: 28px;
    }

    .survey-subtitle {
        font-size: 16px;
    }

    .survey-question-text {
        font-size: 24px;
    }

    .survey-card {
        padding: 22px 18px;
        min-height: 440px;
    }

    .survey-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .survey-button {
        width: 100%;
    }
}

.create-trip-page {
    max-width: 840px;
    margin: 0 auto;
    padding: 40px 16px 56px;
}

.create-trip-header {
    text-align: center;
    margin-bottom: 24px;
}

.create-trip-title {
    margin: 0 0 10px;
    font-size: 36px;
}

.create-trip-subtitle {
    margin: 0 auto;
    max-width: 680px;
    color: #b9b9b9;
    font-size: 18px;
}

.create-trip-card {
    max-width: 100%;
}

.create-trip-content {
    text-align: left;
}

.create-trip-content h2 {
    margin-top: 0;
    margin-bottom: 12px;
    text-align: center;
}

.create-trip-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 16px;
}

.create-trip-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.create-trip-field label {
    font-size: 14px;
    opacity: 0.85;
}

.create-trip-textarea {
    min-height: 130px;
    resize: vertical;
}

.create-trip-date {
    max-width: 260px;
}

.create-trip-status {
    margin-top: 8px;
    color: #ffa15d;
    font-size: 14px;
}

.create-trip-actions {
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.create-trip-button-secondary {
    background: transparent;
    color: #f2ede9;
    border: 1px solid #5a4f4a;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 16px;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.create-trip-button-secondary:hover:enabled {
    border-color: var(--main-accent-color);
}

.create-trip-button-secondary:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .create-trip-page {
        padding: 24px 14px 40px;
    }

    .create-trip-title {
        font-size: 28px;
    }

    .create-trip-subtitle {
        font-size: 16px;
    }

    .create-trip-date {
        max-width: 100%;
    }

    .create-trip-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }
}

.view-trip-page {
    max-width: 980px;
    margin: 0 auto;
    padding: 24px 16px 56px;
}

.view-trip-loading {
    text-align: center;
    color: #b9b9b9;
    margin-top: 40px;
}

.view-trip-hero {
    position: relative;
    border-radius: 18px;
    overflow: visible;
    margin-bottom: 26px;
}

.view-trip-hero-image {
    display: block;
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 18px;
}

.view-trip-hero-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 46%;
    border-radius: 0 0 18px 18px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0));
}

.view-trip-hero-content {
    position: absolute;
    left: 24px;
    bottom: 18px;
    z-index: 2;
}

.view-trip-hero-content h1 {
    margin: 0 0 8px;
    color: white;
    font-size: 34px;
}

.view-trip-hero-content p {
    margin: 0;
    color: #e8e3df;
    font-size: 17px;
}

.view-trip-join-button {
    position: absolute;
    right: 24px;
    bottom: -18px;
    z-index: 3;
    background: var(--main-accent-color);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px 22px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    transition: background 0.2s ease;
}

.view-trip-join-button:hover:enabled {
    background: var(--main-accent-faded-color);
}

.view-trip-join-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.view-trip-status {
    margin: 8px 0 18px;
    color: #ffa15d;
}

.view-trip-description {
    text-align: left;
}

.view-trip-description,
.view-trip-compatibility,
.view-trip-risks,
.view-trip-members,
.view-trip-pending {
    margin-top: 20px;
    max-width: 100%;
}

.view-trip-description h2,
.view-trip-risks h2,
.view-trip-members h2,
.view-trip-pending h2 {
    margin-top: 0;
    margin-bottom: 12px;
}

.view-trip-description p {
    margin: 0;
    line-height: 1.45;
    color: #dfd9d5;
}

.view-trip-compatibility {
    margin-top: 2rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.view-trip-compatibility-circle {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: conic-gradient(var(--main-accent-color) var(--compatibility-percent), #4a423f 0);
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-trip-compatibility-inner {
    width: 184px;
    height: 184px;
    border-radius: 50%;
    background: #292523;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.view-trip-compatibility-value {
    font-size: 42px;
    font-weight: 700;
}

.view-trip-compatibility-label {
    margin-top: 2px;
    font-size: 14px;
    color: #b9b9b9;
}

.view-trip-risk-item + .view-trip-risk-item {
    margin-top: 16px;
}

.view-trip-risk-head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 15px;
}

.view-trip-risk-track {
    margin-top: 8px;
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: #4a423f;
    overflow: hidden;
}

.view-trip-risk-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffb066, var(--main-accent-color));
    border-radius: inherit;
}

.view-trip-risk-item + .view-trip-risk-item--match {
    margin-top: 20px;
}

.view-trip-risk-item--match + .view-trip-risk-item--match {
    margin-top: 16px;
}

.view-trip-risk-fill--match {
    background: linear-gradient(90deg, #6ecf8f, #3d9a5c);
}

.view-trip-risk-item p {
    margin: 8px 0 0;
    color: #cfc7c3;
    font-size: 14px;
}

.view-trip-users-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    overflow-x: auto;
    overflow-y: visible;
    padding-top: 8px;
    padding-bottom: 4px;
}

.view-trip-user {
    border: none;
    background: transparent;
    color: #f2ede9;
    padding: 0;
    width: 94px;
    text-align: center;
    flex-shrink: 0;
}

.view-trip-user-action {
    cursor: pointer;
}

.view-trip-user-action:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.view-trip-avatar-image {
    width: 50px;
    height: 50px;
    margin: 0 auto 8px;
    border-radius: 50%;
    border: 1px solid #726864;
    object-fit: cover;
    display: block;
}

.view-trip-avatar-button {
    border: none;
    background: transparent;
    padding: 0;
    width: 50px;
    cursor: pointer;
}

.view-trip-avatar-button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.view-trip-avatar-image--pending {
    transition: filter 0.18s ease;
}

.view-trip-avatar-button:hover .view-trip-avatar-image--pending {
    filter: brightness(0.78);
}

.view-trip-avatar-wrap {
    position: relative;
    width: 50px;
    margin: 0 auto 8px;
}

.view-trip-avatar-wrap .view-trip-avatar-image {
    margin: 0;
}

.view-trip-reject-button {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: none;
    background: #d33b3b;
    color: #fff;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.view-trip-reject-button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.view-trip-user-name {
    display: block;
    width: 100%;
    font-size: 14px;
    line-height: 1.25;
    word-break: break-word;
}

.view-trip-user-link {
    color: #ffffff;
    text-decoration: none;
}

.view-trip-user-link:hover {
    text-decoration: underline;
}

.view-trip-empty {
    margin: 0;
    color: #b9b9b9;
}

@media (max-width: 768px) {
    .view-trip-page {
        padding: 16px 12px 38px;
    }

    .view-trip-hero-image {
        height: 300px;
    }

    .view-trip-hero-content {
        left: 16px;
        bottom: 16px;
    }

    .view-trip-hero-content h1 {
        font-size: 26px;
    }

    .view-trip-hero-content p {
        font-size: 15px;
    }

    .view-trip-join-button {
        right: 12px;
        bottom: -22px;
    }

    .view-trip-compatibility-circle {
        width: 200px;
        height: 200px;
    }

    .view-trip-compatibility-inner {
        width: 154px;
        height: 154px;
    }
}

.user-profile-page {
    max-width: 980px;
    margin: 0 auto;
    padding: 32px 16px 56px;
}

.user-profile-card {
    max-width: 100%;
}

.user-profile-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 22px;
}

.user-profile-left {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 360px;
}

.user-profile-avatar-image {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    border: 1px solid #726864;
    flex-shrink: 0;
    object-fit: cover;
}

.user-profile-main {
    text-align: left;
}

.user-profile-main h1 {
    margin: 0 0 8px;
    font-size: 30px;
}

.user-profile-main p {
    margin: 0;
    color: #b9b9b9;
}

.user-profile-bio {
    margin-left: auto;
    max-width: 460px;
    width: 100%;
    text-align: right;
}

.user-profile-bio p {
    margin: 0;
    color: #dfd9d5;
    line-height: 1.45;
}

.user-profile-bio-input {
    min-height: 96px;
    resize: vertical;
}

.user-profile-status {
    margin: 12px 0 0;
    color: #ffa15d;
}

.user-profile-actions {
    margin-top: 14px;
    text-align: right;
}

.user-profile-survey-results {
    margin-top: 20px;
    max-width: none;
}

.user-profile-survey-results h2 {
    margin-top: 0;
    margin-bottom: 12px;
}

.user-profile-survey-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
    margin-bottom: 16px;
}

.user-profile-survey-grid div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: #3b3330;
    border-radius: 10px;
    padding: 10px 12px;
}

.user-profile-survey-grid span {
    color: #b9b9b9;
    font-size: 13px;
}

.user-profile-trips {
    margin-top: 20px;
    max-width: none;
}

.user-profile-trips h2 {
    margin-top: 0;
    margin-bottom: 12px;
}

.user-profile-trips-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 900px) {
    .user-profile-survey-grid {
        grid-template-columns: 1fr;
    }

    .user-profile-trips-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .user-profile-head {
        flex-direction: column;
    }

    .user-profile-left {
        min-width: 0;
    }

    .user-profile-bio {
        margin-left: 0;
        max-width: 100%;
        text-align: left;
    }
}

.ml-30 {
    margin-left: 30px !important;
}
