/* Modern Styling for Change Sender ID Settings Page */

.wrap {
    max-width: 800px;
    margin-top: 20px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.wrap h1 {
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
    font-size: 24px;
}

/* Styling for Settings API generated table */
.form-table th {
    padding-left: 0;
    width: 180px; /* Adjust as needed */
    vertical-align: top;
    font-weight: 600;
    color: #555;
}

.form-table td {
    padding-top: 15px;
    padding-bottom: 15px;
}

.form-table tr {
    border-bottom: 1px solid #eee;
}

.form-table tr:last-child {
    border-bottom: none;
}


/* Styling for input fields */
input[type="text"].regular-text,
input[type="email"].regular-text {
    width: 100%;
    max-width: 350px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.07);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

input[type="text"].regular-text:focus,
input[type="email"].regular-text:focus {
    border-color: #007cba;
    box-shadow: 0 0 0 1px #007cba;
    outline: none;
}

/* Styling for the submit button */
.button.button-primary {
    background-color: #007cba;
    border-color: #007cba;
    padding: 8px 20px;
    font-size: 14px;
    height: auto;
    line-height: 1.5;
    border-radius: 4px;
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.button.button-primary:hover,
.button.button-primary:focus {
    background-color: #006799;
    border-color: #006799;
}

/* Optional: Style for the section description */
.form-table p {
    color: #666;
    margin-top: 5px;
    font-size: 13px;
}

/* Responsive adjustments */
@media only screen and (max-width: 782px) {
    .form-table th {
        width: 100%;
        padding-right: 0;
        padding-bottom: 5px;
    }

    .form-table tr {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-table td {
        padding-top: 5px;
        padding-bottom: 5px;
        padding-left: 0;
    }

    input[type="text"].regular-text,
    input[type="email"].regular-text {
        max-width: 100%;
    }
}
