.success-message {
    color: green;
    border: 1px solid green;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    background-color: #f0f8f0;
}

.error-message {
    color: red;
    border: 1px solid red;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    background-color: #f8f0f0;
}

#lead-form {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

#lead-form .form-group {
    margin-bottom: 10px;
}

#lead-form label {
    display: block;
    font-weight: bold;
}

#lead-form input[type="text"],
#lead-form input[type="email"],
#lead-form input[type="tel"],
#lead-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 14px;
}

/* Updated button styling */
#lead-form .btn-submit, .book-treatment, .cta-button {
    display: inline-block;
    width: 100%; /* Full width */
    background-color: #FF6347; /* Striking color */
    color: white; 
    padding: 12px 20px;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px; /* Larger font size */
    cursor: pointer;
    transition: background-color 0.3s ease; /* Transition for smooth color change */
}

#lead-form .btn-submit a, .book-treatment a, .cta-button a {
    color: white;
    text-decoration: none;
    display: block;
}

/* Hover effects */
#lead-form .btn-submit:hover, .book-treatment:hover, .cta-button:hover {
    background-color: #FF4500; /* Darker version of the original color */
    color: white;
}

/* Active (clicked but not released) state */
#lead-form .btn-submit:active, .book-treatment:active, .cta-button:active {
    background-color: #cc3c23; /* Even darker version of the original color */
}

/* Disabled state */
#lead-form .btn-submit:disabled, .book-treatment:disabled, .cta-button:disabled, .cta-button.disabled {
    background-color: #ccc !important;
    cursor: not-allowed;
    pointer-events: none;
}

#lead-form .privacy-note {
    font-size: 12px;
    color: #888;
    margin-top: 10px;
}

/* Styles for table cells */
table.wp-list-table td {
    word-wrap: break-word; 
    max-width: 200px;
    overflow: hidden;  
    text-overflow: ellipsis;  
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
}

table.wp-list-table td:hover {
    overflow: visible;  
    text-overflow: clip;
    position: relative;
    white-space: normal;
}

.leads-wrap {
    background-color: #fff;
    margin: 0 auto;
    padding: 20px;
}

.leads-wrap h2, .leads-wrap h3 {
    text-align: left;
}

.lead-price {
    font-size: smaller;
    font-weight: bold;
}

.lead-price.paid {
    color: green;
}

/* For mobile screens */
@media screen and (max-width: 900px) {

    .leads-wrap {
        max-width: 690px;
    }

    .lead-price {
        font-size: inherit;
        font-weight: bold;
        text-align: center;
    }

    table.wp-list-table {
        border: 0;
    }

    table.wp-list-table thead {
        display: none;
    }

    table.wp-list-table tr {
        margin-bottom: 10px;
        display: block;
        border-bottom: 2px solid #ddd;
    }

    table.wp-list-table td {
        max-width: 900px;
        display: block;
        text-align: left; /* Align text to the left */
        font-size: 13px;
        border-bottom: 1px dotted #ccc;
        padding: 10px 10px; /* Add padding to table cells */
    }

    table.wp-list-table td::before {
        content: attr(data-label);
        float: none;  /* Changed from left to none */
        text-transform: uppercase;
        font-weight: bold;
        font-size: 14px;
        line-height: 1.5;
        display: block;  /* New addition to make the label occupy its own line */
        margin-bottom: 5px;  /* Optional: space between the label and the data */
    }

}