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

.gnls-wrap *,
.gnls-wrap *::before,
.gnls-wrap *::after {
    box-sizing: border-box;
}

.gnls-card {
    width: 100%;
    margin: 15px 0;
    padding: 18px;
    border: 1px solid rgba(98, 139, 180, 0.28);
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.gnls-intro {
    margin-bottom: 14px;
    font-weight: 700;
    color: #23415c;
}

.gnls-section-label {
    margin: 16px 0 10px;
    font-size: 15px;
    font-weight: 800;
    color: #23415c;
}

.gnls-category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.gnls-category-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid #628bb4;
    background: #ffffff;
    color: #628bb4;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.15s ease;
}

.gnls-category-button:hover,
.gnls-category-button:focus {
    background: #628bb4;
    color: #ffffff;
}

.gnls-category-button.is-active {
    background: #628bb4;
    color: #ffffff;
    box-shadow: 0 10px 18px rgba(98, 139, 180, 0.22);
}

.gnls-detail-box {
    position: relative;
}

.gnls-detail-input,
.gnls-inquiry-textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #111827;
    font-size: 16px;
    padding: 14px 14px;
    outline: none;
}

.gnls-detail-input:focus,
.gnls-inquiry-textarea:focus {
    border-color: #628bb4;
    box-shadow: 0 0 0 3px rgba(98, 139, 180, 0.16);
}

.gnls-detail-list {
    display: none;
    width: 100%;
    margin-top: 8px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    max-height: 290px;
    overflow-y: auto;
}

.gnls-detail-list.is-open {
    display: block;
}

.gnls-detail-item,
.gnls-result-item {
    width: 100%;
}

.gnls-detail-item {
    display: block;
    padding: 12px 14px;
    border-bottom: 1px solid #eef2f7;
    background: #ffffff;
    color: #111827;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.gnls-detail-item:last-child {
    border-bottom: 0;
}

.gnls-detail-item:hover,
.gnls-detail-item:focus,
.gnls-detail-item.is-active {
    background: #000000;
    color: #ffffff;
}

.gnls-inline-message,
.gnls-action-message,
.gnls-inquiry-message {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 700;
}

.gnls-inline-message.is-error,
.gnls-action-message.is-error,
.gnls-inquiry-message.is-error {
    color: #b91c1c;
}

.gnls-inline-message.is-success,
.gnls-action-message.is-success,
.gnls-inquiry-message.is-success {
    color: #166534;
}

.gnls-submit-button,
.gnls-inquiry-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 56px;
    margin: 16px 0 0;
    border: 0;
    background: #000000;
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    border-radius: 0;
}

.gnls-submit-button:hover,
.gnls-submit-button:focus,
.gnls-inquiry-button:hover,
.gnls-inquiry-button:focus {
    opacity: 0.92;
}

.gnls-result-area {
    margin-top: 16px;
}

.gnls-result-item {
    margin: 0 0 10px;
    padding: 14px;
    border: 1px solid rgba(98, 139, 180, 0.22);
    background: #f8fbff;
}

.gnls-result-label {
    display: block;
    margin-bottom: 6px;
    color: #36587a;
    font-size: 14px;
    font-weight: 800;
}

.gnls-result-value {
    display: block;
    color: #111827;
    font-size: 16px;
    font-weight: 600;
}

.gnls-action-buttons {
    margin-top: 8px;
}

.gnls-action-buttons[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 15px;
    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%;
    }
}

.gnls-share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 56px;
    padding: 16px 20px;
    margin: 0;
    border: 1px solid #2e7d60;
    background: linear-gradient(180deg, #4caf86 0%, #3f9f78 48%, #2e7d60 100%);
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(46, 125, 96, 0.22);
}

.gnls-share-button:hover,
.gnls-share-button:focus {
    filter: saturate(1.04);
    transform: translateY(-1px);
}

.gnls-image-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.gnls-image-box {
    width: 100%;
    border: 1px solid rgba(98, 139, 180, 0.18);
    background: #f8fbff;
    padding: 10px;
}

.gnls-image-box img {
    display: block;
    width: 100%;
    height: auto;
}

.gnls-inquiry-title {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 800;
    color: #23415c;
}

.gnls-inquiry-textarea {
    min-height: 140px;
    resize: vertical;
}

@media (min-width: 768px) {
    .gnls-image-row {
        grid-template-columns: 1fr 1fr;
    }
}
