.rrpc-wrap {
    margin: 15px 0;
}

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

.rrpc-box {
    border: 1px solid #d9e5f0;
    background: #ffffff;
    padding: 18px;
}

.rrpc-note {
    margin-bottom: 14px;
    color: #222222;
    font-size: 15px;
    line-height: 1.6;
}

.rrpc-field {
    margin-bottom: 12px;
}

.rrpc-label {
    display: block;
    margin-bottom: 6px;
    color: #111111;
    font-size: 15px;
    font-weight: 700;
}

.rrpc-select {
    position: relative;
    width: 100%;
}

.rrpc-input {
    width: 100%;
    min-height: 48px;
    padding: 12px 42px 12px 12px;
    border: 1px solid #cdd8e2;
    background: #ffffff;
    color: #111111;
    font-size: 15px;
    line-height: 1.5;
    cursor: pointer;
}

.rrpc-input:focus {
    outline: none;
    border-color: #628bb4;
    box-shadow: 0 0 0 1px #628bb4;
}

.rrpc-input.rrpc-editable {
    cursor: text;
}

.rrpc-input::placeholder {
    color: #444444;
    opacity: 1;
}

.rrpc-arrow {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    color: #111111;
    pointer-events: none;
    font-size: 13px;
}

.rrpc-option-layer {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 30;
    max-height: 230px;
    overflow-y: auto;
    border: 1px solid #cdd8e2;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.rrpc-option-item {
    padding: 11px 12px;
    color: #111111;
    font-size: 15px;
    line-height: 1.5;
    cursor: pointer;
    border-bottom: 1px solid #eef3f7;
}

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

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

.rrpc-option-empty {
    padding: 11px 12px;
    color: #666666;
    font-size: 14px;
}

.rrpc-submit {
    display: inline-block;
    width: 100%;
    min-height: 52px;
    margin-top: 4px;
    border: 0;
    border-radius: 0;
    background: #000000;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
}

.rrpc-submit:hover,
.rrpc-submit:focus {
    background: #111111;
    outline: none;
}

.rrpc-result {
    margin-top: 15px;
}

.rrpc-result-row {
    display: block;
    width: 100%;
    padding: 13px 14px;
    margin-bottom: 10px;
    border: 1px solid #d7e3ee;
    background: #f8fbfd;
}

.rrpc-result-title {
    margin-bottom: 5px;
    color: #24405d;
    font-size: 14px;
    font-weight: 800;
}

.rrpc-result-value {
    color: #111111;
    font-size: 15px;
    line-height: 1.6;
}

.rrpc-actions {
    margin-top: 12px;
}

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

.rrpc-share-button {
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
width: 100%;
min-height: 56px;
padding: 16px 20px;
margin: 0 0 10px;
border: 1px solid #3d4953;
background: linear-gradient(180deg, #5b6772 0%, #48525c 48%, #384149 100%);
color: #ffffff !important;
font-size: 18px;
font-weight: 800;
letter-spacing: -0.02em;
text-decoration: none !important;
box-shadow: 0 12px 24px rgba(56, 65, 73, 0.22), inset 0 1px 0 rgba(255,255,255,0.18);
overflow: hidden;
transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
animation: rrpcSharePulse 1.9s ease-in-out infinite;
box-sizing: border-box;
-webkit-text-fill-color: #ffffff !important;
cursor: pointer;
border-radius: 0;
}

.rrpc-share-button span {
position: relative;
z-index: 2;
color: #ffffff !important;
-webkit-text-fill-color: #ffffff !important;
}

.rrpc-share-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.24) 50%, rgba(255,255,255,0) 100%);
transform: skewX(-18deg);
animation: eitcApplyShine 2.8s linear infinite;
z-index: 1;
}

.rrpc-share-button:hover,
.rrpc-share-button:focus {
transform: translateY(-1px);
box-shadow: 0 16px 28px rgba(56, 65, 73, 0.3), inset 0 1px 0 rgba(255,255,255,0.18);
filter: saturate(1.05);
outline: none;
}

.rrpc-share-button:active {
transform: translateY(1px);
box-shadow: 0 8px 16px rgba(56, 65, 73, 0.22), inset 0 2px 6px rgba(0,0,0,0.15);
}

.rrpc-share-message {
min-height: 20px;
color: #1e2f42;
font-size: 14px;
}

@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 rrpcSharePulse {
0%, 100% {
box-shadow: 0 12px 24px rgba(56, 65, 73, 0.22), inset 0 1px 0 rgba(255,255,255,0.18);
}
50% {
box-shadow: 0 16px 30px rgba(56, 65, 73, 0.3), inset 0 1px 0 rgba(255,255,255,0.22);
}
}

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

@media (max-width: 767px) {
    .rrpc-box {
        padding: 15px;
    }

    .rrpc-note,
    .rrpc-label,
    .rrpc-input,
    .rrpc-option-item,
    .rrpc-result-value {
        font-size: 14px;
    }

    .rrpc-submit,
    a.eitc-apply-button,
    .rrpc-share-button {
        font-size: 16px;
    }
}
