/* Target the container */
#mailing-list-container {
    width: 100%;
}

.mailing-list-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 15px;
}

.address-label {
    width: calc(33.333% - 14px);
    background: #fff;
    border: 1px solid #ddd;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 4px;
    line-height: 1.5;
    font-size: 14px;
    font-family: "Courier New", monospace;
    box-sizing: border-box;
    cursor: pointer;
    transition: transform 0.2s;
}

.address-label:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Hide those hrs */
.mailing-list-labels hr {
    display: none;
} 

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    position: relative;
    background-color: #fff;
    margin: 5% auto;
    padding: 25px;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #666;
}

.close:hover {
    color: #333;
}

h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    font-size: 1.5em;
}

.form-group {
    margin-bottom: 15px;
    flex: 1;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #555;
    font-weight: 500;
}

input[type="text"],
input[type="email"] {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

input[type="text"]:focus,
input[type="email"]:focus {
    border-color: #4a90e2;
    outline: none;
    box-shadow: 0 0 0 2px rgba(74,144,226,0.2);
}

.button-group {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: flex-end;
}

button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

.save-btn {
    background-color: #4a90e2;
    color: white;
}

.save-btn:hover {
    background-color: #357abd;
}

.cancel-btn {
    background-color: #e0e0e0;
    color: #333;
}

.cancel-btn:hover {
    background-color: #d0d0d0;
}

.pagination-controls {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.pagination-controls button {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    border-radius: 4px;
}

.pagination-controls button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-controls button:hover:not(:disabled) {
    background: #f5f5f5;
}

#page-info {
    color: #666;
}

.striped-table tbody tr:nth-child(even) {
    background-color: #e5e5e5 !important;
}

.striped-table tbody tr:nth-child(odd) {
    background-color: #fff !important;
}

.entry-content #mailing-list-container {
    width: 100% !important; 
    max-width: none !important; 
}

.entry-content #mailing-list-container .striped-table {
    width: 100% !important;
}

/* You can also tweak padding/margin here if you want more space */ 