/*
 * HC_ECO_SERVICE_PROVIDER_STYLE_V1
 */

.hc-sp-page{
    max-width:1180px;
    margin:0 auto;
    padding:28px 18px 100px;
    box-sizing:border-box;
}

.hc-sp-head{
    margin-bottom:22px;
}

.hc-sp-head h1{
    margin:0 0 8px;
    color:#1f3e1d;
    font-size:30px;
}

.hc-sp-head p{
    margin:0;
    color:#69756b;
    line-height:1.7;
}

.hc-sp-card{
    background:#fff;
    border:1px solid #e7ece5;
    border-radius:16px;
    padding:22px;
    box-shadow:0 8px 28px rgba(15,23,42,.05);
    box-sizing:border-box;
}

.hc-sp-form-grid{
    display:grid;
    grid-template-columns:
        repeat(2,minmax(0,1fr));
    gap:16px;
}

.hc-sp-field{
    min-width:0;
}

.hc-sp-field.full{
    grid-column:1 / -1;
}

.hc-sp-field label{
    display:block;
    margin-bottom:7px;
    color:#344238;
    font-size:14px;
    font-weight:700;
}

.hc-sp-field input,
.hc-sp-field select,
.hc-sp-field textarea{
    width:100%;
    min-width:0;
    box-sizing:border-box;
    border:1px solid #d8e0d6;
    border-radius:9px;
    padding:11px 12px;
    background:#fff;
    color:#253028;
    font-size:14px;
    outline:none;
}

.hc-sp-field textarea{
    min-height:120px;
    resize:vertical;
}

.hc-sp-field input:focus,
.hc-sp-field select:focus,
.hc-sp-field textarea:focus{
    border-color:#4b9140;
    box-shadow:0 0 0 3px rgba(75,145,64,.10);
}

.hc-sp-city{
    display:inline-flex;
    align-items:center;
    gap:6px;
    min-height:38px;
    padding:0 12px;
    background:#f2f7ef;
    border-radius:8px;
    color:#397b32;
    font-weight:700;
}

.hc-sp-id-note{
    margin-top:8px;
    color:#7a847d;
    font-size:12px;
    line-height:1.6;
}

.hc-sp-submit{
    margin-top:20px;
    width:100%;
    min-height:46px;
    border:0;
    border-radius:10px;
    background:#3f8736;
    color:#fff;
    font-size:15px;
    font-weight:800;
    cursor:pointer;
}

.hc-sp-submit:disabled{
    opacity:.55;
    cursor:not-allowed;
}

.hc-sp-result{
    margin-top:14px;
    padding:12px 14px;
    border-radius:9px;
    background:#f5f7f4;
    color:#526056;
    line-height:1.6;
    display:none;
}

.hc-sp-role-tabs{
    display:flex;
    flex-wrap:wrap;
    gap:9px;
    margin:0 0 22px;
}

.hc-sp-role-tabs a{
    display:inline-flex;
    align-items:center;
    min-height:36px;
    padding:0 15px;
    border-radius:999px;
    background:#f1f4ef;
    color:#4a574c;
    text-decoration:none;
    font-size:14px;
}

.hc-sp-role-tabs a.is-active{
    background:#3f8736;
    color:#fff;
}

.hc-sp-list{
    display:grid;
    grid-template-columns:
        repeat(3,minmax(0,1fr));
    gap:16px;
}

.hc-sp-person{
    display:block;
    padding:18px;
    background:#fff;
    border:1px solid #e8ece6;
    border-radius:14px;
    text-decoration:none;
    color:inherit;
    box-sizing:border-box;
    transition:.15s ease;
}

.hc-sp-person:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 30px rgba(15,23,42,.08);
}

.hc-sp-person-top{
    display:flex;
    gap:12px;
    align-items:center;
}

.hc-sp-avatar{
    width:52px;
    height:52px;
    flex:0 0 52px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#edf5e8;
    color:#3b7f33;
    font-weight:800;
    font-size:20px;
    overflow:hidden;
}

.hc-sp-avatar img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.hc-sp-person h3{
    margin:0 0 5px;
    font-size:17px;
    color:#253228;
}

.hc-sp-badge{
    color:#3d8535;
    font-size:13px;
    font-weight:700;
}

.hc-sp-meta{
    margin-top:13px;
    color:#68736a;
    font-size:13px;
    line-height:1.8;
}

.hc-sp-empty{
    padding:50px 20px;
    text-align:center;
    color:#7a857d;
    background:#fff;
    border-radius:14px;
    border:1px dashed #dce3da;
}

.hc-sp-profile{
    display:grid;
    grid-template-columns:280px minmax(0,1fr);
    gap:20px;
}

.hc-sp-profile-side,
.hc-sp-profile-main{
    background:#fff;
    border:1px solid #e8ece6;
    border-radius:16px;
    padding:22px;
    box-sizing:border-box;
}

.hc-sp-profile-name{
    margin:14px 0 4px;
    font-size:24px;
    color:#213425;
}

.hc-sp-info-row{
    padding:12px 0;
    border-bottom:1px solid #eef1ed;
    color:#566259;
    line-height:1.6;
}

.hc-sp-info-row:last-child{
    border-bottom:0;
}

@media(max-width:768px){

    .hc-sp-page{
        padding:
            18px
            12px
            90px;
    }

    .hc-sp-head h1{
        font-size:24px;
    }

    .hc-sp-form-grid{
        grid-template-columns:1fr;
    }

    .hc-sp-field.full{
        grid-column:auto;
    }

    .hc-sp-list{
        grid-template-columns:1fr;
    }

    .hc-sp-profile{
        grid-template-columns:1fr;
    }
}
