

/* Start:/local/components/belbike/community/templates/.default/style.css?178715147817714*/
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #e53935 !important;
    background-color: #fff5f5 !important;
}

.form-group.success input,
.form-group.success select,
.form-group.success textarea {
    border-color: #4caf50 !important;
    background-color: #f5fff5 !important;
}

.form-group.error .custom-select-city input {
    border-color: #e53935 !important;
    background-color: #fff5f5 !important;
}

.form-group.success .custom-select-city input {
    border-color: #4caf50 !important;
    background-color: #f5fff5 !important;
}

.form-message {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    display: none;
}

.form-message.success {
    display: block;
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
    margin-bottom: 20px;
}

.form-message.error {
    display: block;
    background: #fce4ec;
    color: #c62828;
    border: 1px solid #ef9a9a;
    margin-bottom: 20px;
}
.verified-badge{
    display: flex;
    gap: 3px;
    align-items: center;
    font-weight: 400;
    font-size: 12px;
    line-height: 1;
    flex-shrink: 0;
}
.verified-badge img {
    height: 14px;
}
#addForm.loading {
    opacity: 0.3;
    pointer-events: none;
    user-select: none;
    filter:grayscale(100%);
}

#addForm.loading .btn-submit {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Стили для маски телефона */
#addForm input[name="PHONE"] {
    letter-spacing: 1px;
}

.community-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.community-header h1 {
    font-size: 28px;
    color: #1a1a2e;
    margin: 0;
}

/* ===== НАВИГАЦИЯ ПО РАЗДЕЛАМ (чипы) ===== */
.community-sections-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.section-chip {
    display: inline-flex;
    align-items: center;
    padding: 9px 18px;
    background: #f5f7fa;
    color: #1a1a2e;
    border-radius: 24px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    border: 1px solid transparent;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
    cursor: pointer;
}

.section-chip:hover {
    background: #eef1f5;
    border-color: #FF7E00;
    color: #FF7E00;
}

.section-chip.active {
    background: #1a1a2e;
    color: #fff;
    border-color: #1a1a2e;
}

.section-chip.active:hover {
    background: #1a1a2e;
    color: #fff;
}

.btn-add-organization {
    background: #32CD32;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-add-organization:hover {
    background: #155724;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(21, 87, 36, 0.3);
}

.community-filter {
    background: #f5f7fa;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 30px;
}

.filter-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.filter-group {
    flex: 1;
    min-width: 160px;
}

.filter-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-bottom: 5px;
}

.filter-group input,
.filter-group select {
    height: 54px;
    display: flex;
    align-items: center;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid #eee;
    background: #fff;
    width: 100%;
    outline: none;
    -webkit-appearance: none;
    padding: 0 20px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
    font-size: 14px;
    border-radius: 10px;
    box-shadow: none !important;
    -webkit-transition: background .3s, border .3s;
    -o-transition: background .3s, border .3s;
    transition: background .3s, border .3s;
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: #ccc;
    box-shadow: 0 0 0 3px rgba(204, 204, 204, 0.1);
}
.filter-group .custom-select-part{
    min-width: 160px;
}
.filter-actions {
    display: flex;
    gap: 10px;
    flex: 0 0 auto;
}

.btn-filter {
    height: 54px;
    background: #FF7E00;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-filter:hover {
    background: #000;
}

.btn-reset {
    height: 54px;
    background: #e0e0e0;
    color: #333;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-reset:hover {
    color: #333;
    background: #bdbdbd;
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.organization-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #eef2f7;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.organization-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-color: #FF7E00;
}

.card-logo {
    position:relative;
    width: 100%;
    height: 120px;
    border-radius: 0;
    overflow: hidden;
    border-bottom: 1px solid #eef2f7;
    background: transparent;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card--image {
    width: auto;
    max-height: 80px;
    object-fit: cover;
}

.card-logo-placeholder {
    font-size: 80px;
    filter:grayscale(100%);
    opacity:0.5;
}

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding:20px 20px 30px 20px;
}

.card-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex-direction: column-reverse;
}

.card-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #6e6e6e;
    margin-bottom:10px;
}

.type-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}
.detail--desc{
    padding:30px;
}
.type-service { background: #e3f2fd; color: #1565c0; }
.type-rent { background: #fff3e0; color: #e65100; }
.type-school { background: #e8f5e9; color: #2e7d32; }
.type-club { background: #fce4ec; color: #c62828; }
.type-detailing { background: #f3e5f5; color: #6a1b9a; }
.type-sale { background: #e0f7fa; color: #00695c; }
.type-default { background: #f5f5f5; color: #616161; }

.city, .contact, .phone {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}
.city img{
    opacity:0.6;
}
.card-detail-btn {
    background: #f5f7fa;
    color: #1a1a2e;
    border: none;
    width:100%;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.card-detail-btn:hover {
    background: #FF7E00;
    color: #fff;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.empty-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 16px;
}

.empty-state p {
    font-size: 18px;
    color: #666;
    margin: 5px 0;
}

.empty-hint {
    font-size: 14px;
    color: #999;
}

/* ===== МОДАЛЬНЫЕ ОКНА ===== */
html.modal-open {
    margin-right: 15px;
    overflow: hidden;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9999;
    align-items: flex-start;
    justify-content: center;
    padding: 8px;
    box-sizing: border-box;
    overflow-y: auto;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: #fff;
    border-radius: 16px;
    max-width: 560px;
    width: 100%;
    margin: auto;
    position: relative;
    max-height: calc(100vh - 16px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: modalSlideIn 0.3s ease;
}

.modal-detail {
    max-width: 640px;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #eef2f7;
    flex-shrink: 0;
}

.modal-header h2 {
    font-size: 22px;
    color: #1a1a2e;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    transition: all 0.3s ease;
    padding: 4px 8px;
}

.modal-close:hover {
    color: #e53935;
}

.modal-body {
    padding:24px;
    overflow-y: auto;
    flex: 1;
}
#detailModal .modal-body{
    padding:0;
}
.detail--info{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-bottom:12px;
}
.detail--info.addr{
    gap:0;
    font-size:14px;
}
#detailModal .city,
#detailModal .contact,
#detailModal .phone {
    gap: 7px;
}
.phone-hidden{
    cursor:pointer;
}
.phone-hidden .phone-masked {
    display: inline-block;
    position: relative;
    font-size:14px;
}
.detail--social{
    border-radius:8px;
    width:48px;
    height:48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:#f5f7fa
}
.detail--social a:hover{
    opacity:0.5
}
.detail--social img{
    width:24px;
}
.phone-hidden .phone-masked::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 80px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) -50%, rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
}
.phone-show-hint {
    position: relative;
    font-weight: 400;
    display: inline-block;
    font-size: 14px;
    transform: translateY(-1px);
    color: #000;
    cursor: pointer;
    transition: all .3s ease;
    line-height: 1.1;
    border-bottom: 1px solid;
}

.phone-show-hint:hover {
    color: #FF7E00;
}
.detail--title{
    font-weight: 700;
    margin: 0 0 5px 0;
}
.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

/* ===== ФОРМА В МОДАЛКЕ ===== */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.form-group input,
.form-group textarea,
.form-group select {
    height: 54px;
    display: flex;
    align-items: center;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid #eee;
    background: #f5f6f7;
    width: 100%;
    outline: none;
    -webkit-appearance: none;
    padding: 0 20px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
    font-size: 14px;
    border-radius: 10px;
    box-shadow: none !important;
    -webkit-transition: background .3s, border .3s;
    -o-transition: background .3s, border .3s;
    transition: background .3s, border .3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border: 1px solid #ccc;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(204,204,204,0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
    padding-top: 12px;
}
.form-group input[type='file'] {
    padding-top: 12px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.required {
    color: #e53935;
}

.form-submit {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.btn-submit {
    background: #FF7E00;
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    flex: 1;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: #000;
}

.btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.btn-cancel {
    background: #e0e0e0;
    color: #333;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    color: #333;
    background: #bdbdbd;
}
.detail-logo {
    height: 200px;
    text-align: center;
    display: flex;
    border-bottom: 1px solid #eef2f7;
    align-items: center;
    justify-content: center;
}

.detail-logo img {
    max-width: 200px;
    max-height: 200px;
}

.detail-info {
    margin-bottom: 12px;
}

.detail-info .label {
    font-weight: 600;
    color: #666;
    font-size: 13px;
}

.detail-info .value {
    font-size: 14px;
    color: #1a1a2e;
    line-height: normal;
}

.detail-divider {
    border: none;
    border-top: 1px solid #eef2f7;
    margin: 16px 0;
}

@media (max-width: 992px) {
    .btn-submit,
    .btn-add-organization{
        height: 44px;
        font-size: 1rem;
        border-radius: 6px;
    }
    .form-group input,
    .form-group textarea,
    .form-group select,
    .filter-group input, .filter-group select{
        height: 44px;
        border-radius: 6px;
    }
    .form-group input[type='file'] {
        padding-top: 7px;
    }
    .btn-filter,
    .btn-reset{
        height: 44px;
        width:50%;
        text-align: center;
        justify-content: center;
        border-radius: 6px;
    }
    .filter-actions {
        width: 100%;
    }
}
@media (max-width: 768px) {
    .detail--desc {
        padding: 20px;
    }
    .community-header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .filter-group input, .filter-group select,
    .filter-group{
        width: 100%;
    }
    .community-header,
    .community-filter{
        margin-bottom:20px;
    }
    .btn-add-organization {
        justify-content: center;
    }
    .filter-row {
        flex-direction: column;
        gap:10px;
    }
    .form-row{
        gap:0;
    }

    .filter-actions {
        flex-direction: row;
        justify-content: stretch;
    }
    .filter-actions .btn-filter,
    .filter-actions .btn-reset {
        flex: 1;
        justify-content: center;
        text-align: center;
    }
    .community-grid {
        grid-template-columns: 1fr;
    }
    .modal-content {
        max-width: 100%;
        border-radius: 12px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .modal-header {
        padding: 16px 20px;
    }
    .modal-header h2 {
        font-size: 18px;
    }
    .modal-body {
        padding: 16px 20px;
    }
}

@media (max-width: 480px) {
    .modal-overlay {
        padding: 4px;
    }
    .modal-content {
        max-height: calc(100vh - 8px);
        border-radius: 8px;
    }
    .modal-header {
        padding: 12px 16px;
    }
    .modal-body {
        padding: 12px 16px;
    }
}

/* ===== SEO-ТЕКСТ ВНИЗУ СТРАНИЦЫ РАЗДЕЛА ===== */
.community-seo-text {
    margin-top: 48px;
    padding: 32px;
    background: #f8f9fb;
    border-radius: 16px;
    font-size: 15px;
    line-height: 1.7;
    color: #3a3a3a;
}

.community-seo-text h2,
.community-seo-text h3,
.community-seo-text h4 {
    margin: 24px 0 12px;
    color: #1a1a2e;
    font-weight: 700;
    line-height: 1.3;
}

.community-seo-text h2:first-child,
.community-seo-text h3:first-child,
.community-seo-text h4:first-child {
    margin-top: 0;
}

.community-seo-text h2 {
    font-size: 24px;
}

.community-seo-text h3 {
    font-size: 19px;
}

.community-seo-text h4 {
    font-size: 16px;
}

.community-seo-text p {
    margin: 0 0 14px;
}

.community-seo-text ul,
.community-seo-text ol {
    margin: 0 0 14px;
    padding-left: 22px;
}

.community-seo-text li {
    margin-bottom: 6px;
}

.community-seo-text a {
    color: #FF7E00;
    text-decoration: underline;
}

.community-seo-text a:hover {
    color: #1a1a2e;
}

.community-seo-text strong,
.community-seo-text b {
    color: #1a1a2e;
}

/* Адаптивность SEO-блока */
@media (max-width: 768px) {
    .community-seo-text {
        margin-top: 32px;
        padding: 20px;
        font-size: 14px;
        line-height: 1.65;
    }
    .community-seo-text h2 {
        font-size: 20px;
    }
    .community-seo-text h3 {
        font-size: 17px;
    }
}

/* Адаптивность чипов на мобильных */
@media (max-width: 768px) {
    .community-header {
        flex-direction: column;
        align-items: stretch;
    }
    .community-sections-nav {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }
    .community-sections-nav::-webkit-scrollbar {
        height: 4px;
    }
    .community-sections-nav::-webkit-scrollbar-thumb {
        background: #ddd;
        border-radius: 2px;
    }
    .section-chip {
        flex-shrink: 0;
    }
    .btn-add-organization {
        width: 100%;
        justify-content: center;
    }
}
/* End */
/* /local/components/belbike/community/templates/.default/style.css?178715147817714 */
