#testPlanDetails {
    margin-top: 28px;
    color: #35404a;
    text-align: left;
}

#testPlanDetails[hidden],
#testPlanDetails .test-plan-details-item[hidden] {
    display: none;
}

#testPlanDetails .test-plan-details-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 16px;
    color: #35404a;
    font-family: 'Comfortaa', sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
}

#testPlanDetails .test-plan-details-success {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 25px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #159a59;
}

#testPlanDetails .test-plan-details-success::after,
#testPlanDetails .test-plan-details-check::after {
    content: '';
    display: block;
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -3px;
}

#testPlanDetails .test-plan-details-card {
    padding: 19px 20px 0;
    border: 1px solid #d5eaf4;
    border-radius: 14px;
    background: #effaff;
    overflow: hidden;
}

#testPlanDetails .test-plan-details-card + .test-plan-details-card {
    margin-top: 16px;
}

#testPlanDetails .test-plan-details-card-header {
    margin-bottom: 18px;
}

#testPlanDetails .test-plan-details-name {
    margin: 0;
    color: #087cae;
    font-family: 'Comfortaa', sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

#testPlanDetails .test-plan-details-payment {
    margin: 4px 0 0;
    color: #596d7b;
    font-family: 'M PLUS 1p', sans-serif;
    font-size: 13px;
    line-height: 1.5;
}

#testPlanDetails .test-plan-details-label {
    margin: 0 0 10px;
    color: #596d7b;
    font-family: 'M PLUS 1p', sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

#testPlanDetails .test-plan-details-list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

#testPlanDetails .test-plan-details-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 10px;
    font-family: 'M PLUS 1p', sans-serif;
    font-size: 15px;
    line-height: 1.65;
}

#testPlanDetails .test-plan-details-item:last-child {
    margin-bottom: 0;
}

#testPlanDetails .test-plan-details-text {
    min-width: 0;
    overflow-wrap: anywhere;
}

#testPlanDetails .test-plan-details-check,
#testPlanDetails .test-plan-details-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 16px;
    width: 16px;
    height: 24px;
}

#testPlanDetails .test-plan-details-check::after {
    border-color: #159a59;
    margin-top: -2px;
}

#testPlanDetails .test-plan-details-dot::after {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #087cae;
}

#testPlanDetails .test-plan-details-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: calc(100% + 40px);
    min-height: 48px;
    margin: 0 -20px;
    padding: 13px 20px;
    border: 0;
    border-top: 1px solid #d5eaf4;
    border-radius: 0;
    background: transparent;
    color: #087cae;
    font-family: 'Comfortaa', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    cursor: pointer;
}

#testPlanDetails .test-plan-details-toggle:hover {
    background: #e1f4fc;
}

#testPlanDetails .test-plan-details-toggle:focus-visible {
    outline: 2px solid #087cae;
    outline-offset: -4px;
}

#testPlanDetails .test-plan-details-arrow {
    width: 8px;
    height: 8px;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.2s ease;
}

#testPlanDetails .test-plan-details-toggle[aria-expanded='true'] .test-plan-details-arrow {
    transform: translateY(2px) rotate(225deg);
}

@media (max-width: 480px) {
    #testPlanDetails .test-plan-details-heading {
        font-size: 16px;
    }

    #testPlanDetails .test-plan-details-card {
        padding: 16px 15px 0;
    }

    #testPlanDetails .test-plan-details-item {
        font-size: 14px;
    }

    #testPlanDetails .test-plan-details-toggle {
        width: calc(100% + 30px);
        margin-right: -15px;
        margin-left: -15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #testPlanDetails .test-plan-details-arrow {
        transition: none;
    }
}

#testModal .test-whatsapp-btn {
    position: relative;
    justify-content: flex-start;
    padding-right: 75px;
    text-align: left;
    border-color: #a2ecff;
    background: #18b6fa;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.48),
        0 0 10px rgba(24, 182, 250, 0.45),
        0 0 25px rgba(24, 182, 250, 0.32);
}

#testModal .test-whatsapp-btn:hover {
    border-color: #c5f4ff;
    background: #15a5e5;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.62),
        0 0 14px rgba(24, 182, 250, 0.58),
        0 0 30px rgba(24, 182, 250, 0.42);
}

#testModal .test-whatsapp-btn::before,
#testModal .test-whatsapp-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    pointer-events: none;
}

#testModal .test-whatsapp-btn::before {
    right: 35px;
    width: 21px;
    height: 3px;
    border-radius: 2px;
    background: #fff;
    transform: translate(0, -50%);
    animation: cm-whatsapp-arrow-stem 1.3s ease-in-out infinite;
}

#testModal .test-whatsapp-btn::after {
    right: 33px;
    width: 12px;
    height: 12px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    transform: translate(0, -50%) rotate(45deg);
    animation: cm-whatsapp-arrow-tip 1.3s ease-in-out infinite;
}

@keyframes cm-whatsapp-arrow-stem {
    0%, 100% { transform: translate(0, -50%); }
    50% { transform: translate(8px, -50%); }
}

@keyframes cm-whatsapp-arrow-tip {
    0%, 100% { transform: translate(0, -50%) rotate(45deg); }
    50% { transform: translate(8px, -50%) rotate(45deg); }
}

@media (max-width: 480px) {
    #testModal .test-whatsapp-btn {
        padding-right: 55px;
        padding-left: 12px;
        font-size: 16px;
    }

    #testModal .test-whatsapp-btn img {
        flex-shrink: 0;
        width: 25px;
        height: 25px;
        object-fit: contain;
    }

    #testModal .test-whatsapp-btn::before {
        right: 29px;
        width: 17px;
    }

    #testModal .test-whatsapp-btn::after {
        right: 27px;
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 360px) {
    #testModal .test-whatsapp-btn {
        font-size: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #testModal .test-whatsapp-btn::before,
    #testModal .test-whatsapp-btn::after {
        animation: none;
    }

    #testModal .test-whatsapp-btn {
        transition: none;
    }

    #testModal .test-whatsapp-btn:hover {
        transform: none;
    }
}
