.cgst-tool {
    margin: 15px 0;
    color: #1b1b1b;
    font-size: 16px;
    line-height: 1.6;
}

.cgst-tool * {
    box-sizing: border-box;
}

.cgst-box {
    margin: 15px 0;
    padding: 22px 18px;
    border: 1px solid #d6e1eb;
    background: #ffffff;
}

.cgst-section-title {
    margin: 0 0 16px;
    color: #628bb4;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.4;
}

.cgst-field-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 12px;
}

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

.cgst-label {
    font-size: 14px;
    font-weight: 700;
    color: #2b4a68;
}

.cgst-input,
.cgst-textarea,
.cgst-search-input {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid #c9d6e3;
    border-radius: 0;
    background: #ffffff;
    font-size: 16px;
    color: #1b1b1b;
    outline: none;
}

.cgst-input:focus,
.cgst-textarea:focus,
.cgst-search-input:focus {
    border-color: #628bb4;
    box-shadow: 0 0 0 1px rgba(98, 139, 180, 0.18);
}

.cgst-textarea {
    min-height: 180px;
    resize: vertical;
}

.cgst-black-button,
.cgst-share-button {
    width: 100%;
    min-height: 56px;
    margin: 15px 0 0;
    padding: 16px 18px;
    border: 0;
    border-radius: 0;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.cgst-black-button {
    background: #000000;
    color: #ffffff;
}

.cgst-share-button {
    background: #4d759c;
    color: #ffffff;
    margin: 12px 0 0;
}

.cgst-black-button:hover,
.cgst-share-button:hover {
    opacity: 0.92;
}

.cgst-black-button:active,
.cgst-share-button:active {
    transform: translateY(1px);
}

.cgst-result-area,
.cgst-info-result {
    margin-top: 15px;
}

.cgst-result-card,
.cgst-info-card {
    border: 1px solid #d6e1eb;
    background: #f8fbff;
}

.cgst-result-row {
    display: block;
    width: 100%;
    padding: 14px 16px;
    border-bottom: 1px solid #d6e1eb;
}

.cgst-result-row:last-child {
    border-bottom: 0;
}

.cgst-result-name {
    display: block;
    margin-bottom: 4px;
    color: #4d759c;
    font-size: 13px;
    font-weight: 800;
}

.cgst-result-value {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: #111111;
}

.cgst-result-desc {
    display: block;
    margin-top: 6px;
    color: #495057;
    font-size: 14px;
}

.cgst-topic-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
    margin-bottom: 15px;
}

.cgst-topic-button {
    min-height: 52px;
    padding: 12px 10px;
    border: 1px solid #628bb4;
    border-radius: 0;
    background: #ffffff;
    color: #628bb4;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
}

.cgst-topic-button.is-active {
    background: #628bb4;
    color: #ffffff;
}

.cgst-search-select {
    position: relative;
}

.cgst-search-input {
    padding-right: 42px;
}

.cgst-search-select::after {
    content: '▾';
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    color: #628bb4;
    font-size: 14px;
    pointer-events: none;
}

.cgst-options {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    width: 100%;
    max-height: 260px;
    overflow-y: auto;
    border: 1px solid #c9d6e3;
    background: #ffffff;
    z-index: 30;
}

.cgst-option {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border-bottom: 1px solid #edf2f7;
    background: #ffffff;
    color: #1b1b1b;
    font-size: 15px;
    text-align: left;
    cursor: pointer;
}

.cgst-option:last-child {
    border-bottom: 0;
}

.cgst-option:hover,
.cgst-option:focus,
.cgst-option.is-active {
    background: #000000;
    color: #ffffff;
}

.cgst-info-card {
    padding: 16px;
}

.cgst-info-title {
    margin: 0 0 12px;
    color: #628bb4;
    font-size: 20px;
    font-weight: 800;
}

.cgst-info-text {
    margin: 0 0 10px;
    color: #222222;
    font-size: 15px;
}

.cgst-empty-message,
.cgst-share-notice,
.cgst-inquiry-notice,
.cgst-error-message {
    margin-top: 12px;
    padding: 12px 14px;
    border: 1px solid #d6e1eb;
    background: #f5f9fc;
    color: #274560;
    font-size: 14px;
}

.cgst-error-message {
    border-color: #f2c4c4;
    background: #fff5f5;
    color: #8b2c2c;
}

.cgst-inquiry-box {
    margin-top: 32px;
    border: 2px solid #628bb4;
    background: #f7fbff;
}

.is-hidden {
    display: none !important;
}

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 25px;
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);
}

@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: 782px) {
    .cgst-box {
        padding: 18px 14px;
    }

    .cgst-section-title {
        font-size: 20px;
    }

    .cgst-result-value {
        font-size: 17px;
    }
}
