.gitc-wrap,
.gitc-wrap * {
    box-sizing: border-box;
}

.gitc-wrap {
    width: 100%;
    max-width: 100%;
    margin: 15px 0;
    color: #222;
    font-family: inherit;
}

.gitc-card {
    width: 100%;
    margin: 15px 0;
    padding: 18px;
    border: 1px solid #d9e3ed;
    background: #ffffff;
}

.gitc-calculator-card {
    border-top: 4px solid #628bb4;
}

.gitc-info-card {
    border-top: 4px solid #628bb4;
}

.gitc-inquiry-card {
    border: 2px solid #222;
    background: #fbfbfb;
}

.gitc-title {
    display: block;
    margin: 0 0 12px;
    color: #1d1d1d;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.35;
}

.gitc-desc {
    display: block;
    margin: 0 0 15px;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.6;
}

.gitc-form {
    width: 100%;
}

.gitc-field {
    position: relative;
    display: block;
    width: 100%;
    margin: 15px 0;
}

.gitc-field label {
    display: block;
    margin: 0 0 6px;
    color: #222;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.gitc-field input,
.gitc-inquiry-text {
    display: block;
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 0;
    background: #fff;
    color: #222;
    font-size: 16px;
    line-height: 1.4;
    outline: none;
    box-shadow: none;
}

.gitc-field input:focus,
.gitc-inquiry-text:focus {
    border-color: #628bb4;
    box-shadow: 0 0 0 2px rgba(98, 139, 180, 0.18);
}

.gitc-inquiry-text {
    min-height: 120px;
    resize: vertical;
}

.gitc-option-list {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 30;
    display: none;
    width: 100%;
    max-height: 280px;
    overflow-y: auto;
    border: 1px solid #1f2937;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}

.gitc-option-list.is-open {
    display: block;
}

.gitc-option {
    display: block;
    width: 100%;
    padding: 13px 14px;
    border: 0;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
    color: #222;
    font-size: 15px;
    text-align: left;
    cursor: pointer;
    line-height: 1.45;
}

.gitc-option:hover,
.gitc-option:focus {
    background: #000;
    color: #fff;
}

.gitc-main-button,
.gitc-inquiry-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 56px;
    margin: 15px 0;
    padding: 15px 18px;
    border: 0;
    border-radius: 0;
    background: #000;
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.03em;
    cursor: pointer;
    text-decoration: none;
}

.gitc-main-button:hover,
.gitc-main-button:focus,
.gitc-inquiry-button:hover,
.gitc-inquiry-button:focus {
    background: #1f2937;
    color: #fff;
}

.gitc-result {
    display: none;
    margin: 15px 0 0;
}

.gitc-result.is-visible {
    display: block;
}

.gitc-result-box {
    display: block;
    width: 100%;
    padding: 15px;
    border: 1px solid #d9e3ed;
    background: #f8fafc;
}

.gitc-result-title {
    display: block;
    margin: 0 0 12px;
    color: #111827;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.gitc-result-row {
    display: block;
    width: 100%;
    margin: 8px 0;
    padding: 12px;
    border: 1px solid #e5e7eb;
    background: #fff;
}

.gitc-result-label {
    display: block;
    margin: 0 0 5px;
    color: #4b5563;
    font-size: 14px;
    font-weight: 700;
}

.gitc-result-value {
    display: block;
    color: #111827;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.gitc-result-note {
    display: block;
    margin: 12px 0;
    padding: 12px;
    border-left: 4px solid #628bb4;
    background: #eef4fa;
    color: #334155;
    font-size: 14px;
    line-height: 1.65;
}

.gitc-share-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    padding: 15px 20px;
    margin: 0 0 15px;
    border: 1px solid #315f57;
    border-radius: 0;
    background: linear-gradient(180deg, #4f8f84 0%, #3e786f 48%, #315f57 100%);
    color: #ffffff !important;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-decoration: none !important;
    cursor: pointer;
}

.gitc-share-status,
.gitc-inquiry-status {
    display: none;
    width: 100%;
    margin: 8px 0 0;
    padding: 12px;
    background: #eef4fa;
    color: #1f2937;
    font-size: 14px;
    line-height: 1.5;
}

.gitc-share-status.is-visible,
.gitc-inquiry-status.is-visible {
    display: block;
}

.gitc-topic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
    gap: 8px;
    width: 100%;
    margin: 15px 0;
}

.gitc-topic-button {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    width: 100%;
    padding: 10px;
    border: 1px solid #628bb4;
    border-radius: 0;
    background: #fff;
    color: #628bb4;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.04em;
    text-align: center;
    cursor: pointer;
}

.gitc-topic-button.is-active,
.gitc-topic-button:hover,
.gitc-topic-button:focus {
    background: #628bb4;
    color: #fff;
}

.gitc-detail-area {
    display: block;
    width: 100%;
    margin: 15px 0 0;
}

.gitc-info-output {
    display: none;
    width: 100%;
    margin: 15px 0;
}

.gitc-info-output.is-visible {
    display: block;
}

.gitc-info-panel {
    display: block;
    width: 100%;
    padding: 15px;
    border: 1px solid #d9e3ed;
    background: #f8fafc;
}

.gitc-info-title {
    display: block;
    margin: 0 0 10px;
    color: #111827;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.gitc-info-text {
    display: block;
    color: #334155;
    font-size: 15px;
    line-height: 1.75;
}

.gitc-info-text ul,
.gitc-info-text ol {
    margin: 8px 0 8px 20px;
    padding: 0;
}

.gitc-info-text li {
    margin: 5px 0;
}

.gitc-info-text table {
    width: 100%;
    margin: 10px 0;
    border-collapse: collapse;
    background: #fff;
    font-size: 14px;
}

.gitc-info-text th,
.gitc-info-text td {
    padding: 10px;
    border: 1px solid #d1d5db;
    text-align: left;
    vertical-align: top;
}

.gitc-info-text th {
    background: #eef4fa;
    color: #1f2937;
}

.gitc-table-scroll {
    width: 100%;
    overflow-x: auto;
}

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: 640px) {
    .gitc-card {
        padding: 14px;
    }

    .gitc-title {
        font-size: 20px;
    }

    .gitc-topic-grid {
        grid-template-columns: repeat(auto-fit, minmax(82px, 1fr));
    }

    .gitc-topic-button {
        font-size: 14px;
    }
}
