/* Troubleshooting / Common Errors */
.drts-dcf-howto {
    margin: 2rem 0;
}

.drts-dcf-intro-text {
    font-size: 1rem;
    color: #4b5563;
    /* gray-600 */
    margin: 0 0 1.5rem 0;
    line-height: 1.625;
}

.drts-dcf-howto .drts-display-element-header {
    position: relative;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 800;
}

.drts-dcf-howto .drts-display-element-header:before {
    content: "";
    display: block;
    height: 1px;
    background-color: #e0e0e0;
    position: absolute;
    top: 50%;
    width: 100%;
    z-index: 1;
}

.drts-dcf-howto .drts-display-element-header span {
    background-color: #fff;
    /* Match your page background */
    padding: 0 1rem;
    position: relative;
    z-index: 2;
    color: #6d6d6d;
    font-weight: 700;
}

.drts-dcf-howto-steps {
    list-style: none;
    /* Remove default numbers */
    margin: 0;
    padding: 0;
    counter-reset: dcf-howto-counter;
}

.drts-dcf-howto-step {
    background: #fcfcfc;
    /* Very light gray/white background */
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    /* Subtle shadow for card definition */
    counter-increment: dcf-howto-counter;
}

/* The Green Number Badge */
.drts-dcf-howto-step::before {
    content: counter(dcf-howto-counter);
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background-color: #1cb955;
    /* M-Pesa Green */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1;
}

.drts-dcf-howto-step-content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Title & Text styling */
.drts-dcf-howto-step-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.drts-dcf-howto-step-text {
    color: #4b5563;
    /* Gray-600 */
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Adjust for unordered list if numbers are off */
.drts-dcf-howto-steps.ul .drts-dcf-howto-step::before {
    content: "•";
    background: transparent;
    color: #1cb955;
    font-size: 2rem;
    width: auto;
    height: auto;
    line-height: 0.5;
    margin-top: 0.2rem;
}