/* Mechanic public profile page */
.mech-show-page {
    min-height: 100vh;
    background: linear-gradient(180deg, #eef4fa 0%, #ffffff 42%, #f8fafc 100%);
}

.mech-show-topbar {
    border-bottom: 1px solid rgba(228, 242, 255, 0.9);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
}

.mech-show-topbar__inner {
    max-width: 72rem;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.mech-show-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2b7ac4;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}

.mech-show-back:hover {
    text-decoration: underline;
}

.mech-show-wrap {
    max-width: 72rem;
    margin: 0 auto;
    padding: 32px 16px 48px;
}

.mech-show-alert {
    margin-bottom: 24px;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
}

.mech-show-alert--success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.mech-show-alert--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.mech-show-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 1024px) {
    .mech-show-grid {
        grid-template-columns: 1fr 360px;
        gap: 40px;
        align-items: start;
    }
}

.mech-show-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mech-show-hero {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    padding: 28px 24px;
    background: linear-gradient(135deg, #14212b 0%, #1e3a5f 52%, #2b7ac4 100%);
    box-shadow: 0 16px 48px rgba(20, 33, 43, 0.18);
}

.mech-show-hero::after {
    content: '';
    position: absolute;
    right: -30px;
    top: -30px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(124, 179, 66, 0.14);
}

.mech-show-hero__inner {
    position: relative;
    z-index: 1;
}

.mech-show-hero,
.mech-show-hero h1,
.mech-show-hero p,
.mech-show-hero span {
    color: #fff !important;
}

.mech-show-hero__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.88;
    margin: 0 0 10px;
}

.mech-show-hero__title {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 14px;
}

.mech-show-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.9rem;
    opacity: 0.95;
}

.mech-show-hero__meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.mech-show-hero__meta a {
    color: #fff !important;
    text-decoration: none;
}

.mech-show-hero__meta a:hover {
    text-decoration: underline;
}

.mech-show-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.mech-show-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    font-size: 0.82rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.mech-show-hero__badge i {
    color: #7cb342 !important;
}

.mech-show-hero__badge--rating i {
    color: #fbbf24 !important;
}

.mech-show-panel {
    border-radius: 16px;
    border: 1px solid #e4f2ff;
    background: #fff;
    padding: 22px 24px;
    box-shadow: 0 4px 18px rgba(20, 33, 43, 0.04);
}

.mech-show-panel__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #14212b;
    margin: 0 0 14px;
}

.mech-show-panel__icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(43, 122, 196, 0.1);
    color: #2b7ac4;
}

.mech-show-panel__icon--green {
    background: rgba(124, 179, 66, 0.12);
    color: #5a9e2e;
}

.mech-show-panel__text {
    color: #6b7b93;
    line-height: 1.65;
    white-space: pre-line;
    margin: 0;
}

.mech-show-services {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mech-show-service {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid #eef2f7;
    background: #fafbfc;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mech-show-service:hover {
    border-color: #dce8f5;
    box-shadow: 0 4px 14px rgba(20, 33, 43, 0.05);
}

.mech-show-service__icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(43, 122, 196, 0.1);
    color: #2b7ac4;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mech-show-service__title {
    font-weight: 700;
    color: #14212b;
    margin: 0 0 4px;
    line-height: 1.3;
}

.mech-show-service__desc {
    font-size: 0.875rem;
    color: #6b7b93;
    margin: 0;
    line-height: 1.5;
}

.mech-show-review {
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #eef2f7;
    background: #f8fafc;
    margin-bottom: 12px;
}

.mech-show-review:last-child {
    margin-bottom: 0;
}

.mech-show-review__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.mech-show-review__name {
    font-weight: 700;
    color: #14212b;
}

.mech-show-review__stars {
    color: #f59e0b;
    font-weight: 700;
    font-size: 0.875rem;
}

.mech-show-review__text {
    margin: 8px 0 0;
    font-size: 0.875rem;
    color: #6b7b93;
    line-height: 1.5;
}

.mech-show-review__time {
    margin-top: 8px;
    font-size: 0.75rem;
    color: #9ca3af;
}

.mech-show-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

@media (min-width: 1024px) {
    .mech-show-sidebar {
        position: sticky;
        top: 96px;
    }
}

.mech-show-book {
    border-radius: 18px;
    border: 1px solid #dce8f5;
    background: #fff;
    padding: 24px;
    box-shadow: 0 16px 48px rgba(20, 33, 43, 0.1);
}

.mech-show-book__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    font-weight: 800;
    color: #14212b;
    margin: 0 0 4px;
}

.mech-show-book__title i {
    color: #2b7ac4;
}

.mech-show-book__subtitle {
    font-size: 0.875rem;
    color: #6b7b93;
    margin: 0 0 20px;
    line-height: 1.45;
}

.mech-show-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mech-show-field label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6b7b93;
    margin-bottom: 6px;
}

.mech-show-field label .optional {
    text-transform: none;
    font-weight: 500;
    color: #9ca3af;
}

.mech-show-input,
.mech-show-textarea {
    width: 100%;
    border: 1px solid #dce8f5;
    border-radius: 12px;
    background: #fafbfc;
    padding: 11px 14px;
    font-size: 0.9rem;
    color: #14212b;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mech-show-input:focus,
.mech-show-textarea:focus {
    outline: none;
    border-color: #2b7ac4;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(43, 122, 196, 0.12);
}

.mech-show-textarea {
    min-height: 96px;
    resize: vertical;
}

.mech-show-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 18px;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff !important;
    background: linear-gradient(135deg, #2b7ac4, #7cb342);
    box-shadow: 0 8px 24px rgba(43, 122, 196, 0.25);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.mech-show-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(43, 122, 196, 0.32);
}

.mech-show-login-btn {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    border-radius: 12px;
    font-weight: 700;
    color: #fff !important;
    text-decoration: none;
    background: linear-gradient(135deg, #2b7ac4, #7cb342);
}

.mech-show-rating-box {
    text-align: center;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #eef2f7;
    background: #f8fafc;
    font-size: 0.875rem;
    color: #6b7b93;
}

.mech-show-rating-box strong {
    color: #f59e0b;
}

.mech-show-review-form {
    border-radius: 16px;
    border: 1px solid #fde68a;
    background: #fffbeb;
    padding: 20px;
}

.mech-show-review-form h3 {
    font-weight: 700;
    color: #14212b;
    margin: 0 0 14px;
    font-size: 1rem;
}

.mech-show-footer-link {
    margin-top: 36px;
    text-align: center;
}

.mech-show-footer-link a {
    color: #2b7ac4;
    font-weight: 600;
    text-decoration: none;
}

.mech-show-footer-link a:hover {
    text-decoration: underline;
}

.mech-show-empty {
    padding: 28px 16px;
    text-align: center;
    color: #9ca3af;
    font-size: 0.9rem;
}

@media (max-width: 640px) {
    .mech-show-wrap {
        padding-top: 20px;
    }

    .mech-show-hero {
        padding: 22px 18px;
    }

    .mech-show-book {
        padding: 18px;
    }
}
