.ldph-wrap {
    --ldph-primary: #628bb4;
    --ldph-primary-dark: #4d759c;
    --ldph-text: #1f2937;
    --ldph-border: #d7e1eb;
    --ldph-bg: #f7fafc;
    --ldph-muted: #6b7280;
    margin: 15px 0;
    color: var(--ldph-text);
    font-family: inherit;
}

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

.ldph-card {
    margin: 15px 0;
    padding: 20px;
    background: #ffffff;
    border: 1px solid var(--ldph-border);
}

.ldph-section-title {
    margin: 0 0 16px;
    font-size: 24px;
    line-height: 1.4;
    color: #111827;
    font-weight: 800;
}

.ldph-role-toggle,
.ldph-inline-toggle,
.ldph-info-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 15px;
}

.ldph-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 16px;
    border: 1px solid var(--ldph-primary);
    background: #ffffff;
    color: var(--ldph-primary);
    cursor: pointer;
    transition: all 0.18s ease;
    font-size: 15px;
    font-weight: 700;
}

.ldph-chip.is-active,
.ldph-chip:hover,
.ldph-chip:focus {
    background: var(--ldph-primary);
    color: #ffffff;
}

.ldph-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 15px;
}

.ldph-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ldph-label {
    font-size: 14px;
    color: #111827;
    font-weight: 700;
}


.ldph-field-guide {
    font-size: 13px;
    line-height: 1.6;
    color: #5b6775;
}


.ldph-input,
.ldph-select,
.ldph-textarea,
.ldph-info-search {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #c5d2df;
    background: #ffffff;
    color: #111827;
    font-size: 15px;
    border-radius: 0;
    outline: none;
}

.ldph-input:focus,
.ldph-select:focus,
.ldph-textarea:focus,
.ldph-info-search:focus {
    border-color: var(--ldph-primary);
    box-shadow: 0 0 0 2px rgba(98, 139, 180, 0.12);
}

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

.ldph-calculate-button,
.ldph-inquiry-button {
    width: 100%;
    min-height: 56px;
    padding: 16px 20px;
    border: 0;
    background: #000000;
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    border-radius: 0;
}

.ldph-calculate-button:hover,
.ldph-inquiry-button:hover,
.ldph-calculate-button:focus,
.ldph-inquiry-button:focus {
    opacity: 0.92;
}

.ldph-results,
.ldph-info-results,
.ldph-inquiry-message {
    margin-top: 15px;
}

.ldph-result-row,
.ldph-info-row {
    display: block;
    width: 100%;
    margin: 0 0 10px;
    padding: 14px 16px;
    background: var(--ldph-bg);
    border: 1px solid var(--ldph-border);
}

.ldph-result-label,
.ldph-info-label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: var(--ldph-muted);
    font-weight: 700;
}

.ldph-result-label {
    text-align: center;
    font-size: 22px;
    line-height: 1.5;
}

.ldph-result-value,
.ldph-info-value {
    display: block;
    font-size: 16px;
    line-height: 1.7;
    color: #111827;
    font-weight: 700;
}

.ldph-result-value {
    text-align: center;
    font-size: 22px;
    line-height: 1.5;
}

.ldph-result-value.ldph-note,
.ldph-info-value.ldph-note {
    font-weight: 500;
}

.ldph-result-alert {
    border-color: #f5c2c7;
    background: #fff5f5;
}

.ldph-result-good {
    border-color: #b7dfc4;
    background: #f3fff7;
}

.ldph-empty,
.ldph-help-text {
    display: block;
    width: 100%;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px dashed #c9d6e2;
    color: #475569;
    line-height: 1.7;
}

.ldph-custom-select {
    position: relative;
    margin: 0 0 15px;
}

.ldph-info-options {
    display: none;
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    max-height: 260px;
    overflow-y: auto;
    border: 1px solid #c5d2df;
    background: #ffffff;
    z-index: 30;
}

.ldph-info-options.is-open {
    display: block;
}

.ldph-option {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border: 0;
    background: #ffffff;
    color: #111827;
    text-align: left;
    cursor: pointer;
    font-size: 15px;
}

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

.ldph-option-empty {
    padding: 12px 14px;
    color: #6b7280;
    background: #ffffff;
}

.ldph-divider-space {
    height: 6px;
}

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


.ldph-employer-form {
    margin-bottom: 15px;
}

.ldph-employer-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
}

.ldph-employer-item {
    padding: 16px;
    border: 1px solid var(--ldph-border);
    background: #f8fbfd;
}

.ldph-employer-item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 15px;
}

.ldph-employer-item-title {
    font-size: 18px;
    line-height: 1.4;
    color: #111827;
    font-weight: 800;
}

.ldph-add-employee-button,
.ldph-remove-employee-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 16px;
    border: 1px solid var(--ldph-primary);
    background: #ffffff;
    color: var(--ldph-primary);
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    border-radius: 0;
}

.ldph-add-employee-button {
    width: 100%;
}

.ldph-add-employee-button:hover,
.ldph-add-employee-button:focus,
.ldph-remove-employee-button:hover,
.ldph-remove-employee-button:focus {
    background: var(--ldph-primary);
    color: #ffffff;
}

.ldph-share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 56px;
    padding: 16px 20px;
    margin: 0 0 10px;
    border: 1px solid #000000;
    background: #000000;
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.ldph-share-button:hover,
.ldph-share-button:focus {
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.24);
}

.ldph-inquiry-message.is-done {
    padding: 14px 16px;
    background: #f3fff7;
    border: 1px solid #b7dfc4;
    color: #166534;
    font-weight: 700;
}

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

@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) {
    .ldph-card {
        padding: 16px;
    }

    .ldph-section-title {
        font-size: 21px;
    }

    .ldph-grid {
        grid-template-columns: 1fr;
    }
}
