
.sp5-wrap {
    margin: 15px 0;
    color: #1f2937;
    font-size: 16px;
    line-height: 1.6;
}

.sp5-wrap * {
    box-sizing: border-box;
}

.sp5-card,
.sp5-contact-block {
    margin: 15px 0;
    padding: 18px;
    border: 1px solid #d7e3ef;
    background: #ffffff;
}

.sp5-contact-block {
    border-top: 4px solid #628bb4;
    background: #fbfdff;
}

.sp5-field-title,
.sp5-contact-title {
    margin: 15px 0 8px;
    color: #35506c;
    font-size: 15px;
    font-weight: 700;
}

.sp5-field-title:first-child {
    margin-top: 0;
}

.sp5-search-box {
    position: relative;
    margin: 15px 0;
}

.sp5-search-input,
.sp5-contact-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #c3d4e3;
    outline: none;
    background: #ffffff;
    color: #1f2937;
    font-size: 15px;
}

.sp5-search-input:focus,
.sp5-contact-textarea:focus {
    border-color: #628bb4;
}

.sp5-search-list {
    display: none;
    margin-top: 6px;
    border: 1px solid #d9e5ef;
    background: #ffffff;
    max-height: 300px;
    overflow-y: auto;
}

.sp5-search-list.is-open {
    display: block;
}

.sp5-search-item {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border-bottom: 1px solid #eef4f9;
    background: #ffffff;
    color: #35506c;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.sp5-search-item:last-child {
    border-bottom: 0;
}

.sp5-search-item:hover,
.sp5-search-item:focus {
    background: #000000;
    color: #ffffff;
}

.sp5-search-item-name {
    display: block;
    font-weight: 700;
}

.sp5-search-item-desc {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    color: inherit;
    opacity: 0.88;
}

.sp5-chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.sp5-chip {
    appearance: none;
    border: 1px solid #628bb4;
    background: #ffffff;
    color: #628bb4;
    padding: 11px 14px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}

.sp5-chip:hover,
.sp5-chip:focus,
.sp5-chip.is-active {
    background: #628bb4;
    color: #ffffff;
}

.sp5-digit-chip {
    min-width: 46px;
    text-align: center;
}

.sp5-black-button,
.sp5-share-button {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 16px;
    border: 0;
    outline: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
}

.sp5-black-button {
    margin: 15px 0;
    background: #000000;
    color: #ffffff;
}

.sp5-black-button:hover,
.sp5-black-button:focus {
    opacity: 0.92;
}

.sp5-result-area,
.sp5-info-result-area,
.sp5-contact-message {
    margin-top: 15px;
}

.sp5-result-box {
    margin-top: 15px;
    padding: 16px;
    border: 1px solid #d7e3ef;
    background: #f8fbfe;
}

.sp5-result-row {
    display: block;
    width: 100%;
    margin: 0 0 8px;
    padding: 10px 12px;
    border: 1px solid #e4edf5;
    background: #ffffff;
    word-break: keep-all;
}

.sp5-result-row:last-child {
    margin-bottom: 0;
}

.sp5-result-row strong {
    color: #35506c;
}

.sp5-result-status {
    border-color: #c1d4e6;
    background: #edf5fb;
    color: #35506c;
    font-weight: 800;
}

a.eitc-apply-button,
a.eitc-apply-button:link,
a.eitc-apply-button:visited,
a.eitc-apply-button:hover,
a.eitc-apply-button:focus,
a.eitc-apply-button:active {
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
width: 100%;
min-height: 56px;
padding: 16px 20px;
margin: 15px 0 12px;
border: 1px solid #4d759c;
background: linear-gradient(180deg, #7399c0 0%, #628bb4 48%, #4d759c 100%);
color: #ffffff !important;
font-size: 18px;
font-weight: 800;
letter-spacing: -0.02em;
text-decoration: none !important;
box-shadow: 0 12px 24px rgba(98, 139, 180, 0.26), inset 0 1px 0 rgba(255,255,255,0.25);
overflow: hidden;
transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
animation: eitcApplyPulse 1.7s ease-in-out infinite;
box-sizing: border-box;
-webkit-text-fill-color: #ffffff !important;
}

a.eitc-apply-button span,
a.eitc-apply-button span:link,
a.eitc-apply-button span:visited,
a.eitc-apply-button span:hover,
a.eitc-apply-button span:focus,
a.eitc-apply-button span:active {
position: relative;
z-index: 2;
color: #ffffff !important;
-webkit-text-fill-color: #ffffff !important;
}

a.eitc-apply-button::before {
content: '';
position: absolute;
top: 0;
left: -30%;
width: 24%;
height: 100%;
background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.26) 50%, rgba(255,255,255,0) 100%);
transform: skewX(-18deg);
animation: eitcApplyShine 2.8s linear infinite;
z-index: 1;
}

a.eitc-apply-button:hover,
a.eitc-apply-button:focus {
color: #ffffff !important;
-webkit-text-fill-color: #ffffff !important;
transform: translateY(-1px);
box-shadow: 0 16px 28px rgba(98, 139, 180, 0.34), inset 0 1px 0 rgba(255,255,255,0.25);
filter: saturate(1.05);
}

a.eitc-apply-button:active {
color: #ffffff !important;
-webkit-text-fill-color: #ffffff !important;
transform: translateY(1px);
box-shadow: 0 8px 16px rgba(98, 139, 180, 0.26), inset 0 2px 6px rgba(0,0,0,0.15);
}

.sp5-share-button {
    margin: 0 0 4px;
    background: #eef4fa;
    color: #45698a;
    border: 1px solid #bfd0e0;
}

.sp5-share-button:hover,
.sp5-share-button:focus {
    background: #dfeaf4;
}

.sp5-copy-message,
.sp5-contact-message {
    color: #35506c;
    font-size: 14px;
    font-weight: 700;
}

.sp5-contact-textarea {
    min-height: 140px;
    resize: vertical;
    margin-top: 15px;
}

.sp5-topic-group {
    margin-top: 0;
}

.sp5-subtopic-search-wrap.is-hidden {
    display: none;
}

.sp5-info-empty {
    margin-top: 15px;
    padding: 14px 16px;
    border: 1px dashed #c7d8e7;
    background: #f7fbff;
    color: #51708e;
}

@keyframes eitcApplyPulse {
0%, 100% {
box-shadow: 0 12px 24px rgba(98, 139, 180, 0.26), inset 0 1px 0 rgba(255,255,255,0.25);
}
50% {
box-shadow: 0 16px 30px rgba(98, 139, 180, 0.34), inset 0 1px 0 rgba(255,255,255,0.3);
}
}

@keyframes eitcApplyShine {
0% {
left: -30%;
}
100% {
left: 120%;
}
}

@media (max-width: 767px) {
    .sp5-card,
    .sp5-contact-block {
        padding: 15px;
    }

    .sp5-chip {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .sp5-digit-chip {
        width: calc(20% - 8px);
    }
}
