.status-active {
    color: #4CAF50;
    font-weight: bold;
}

.status-void {
    color: #FFC107;
    font-weight: bold;
}

.status-completed, .status-contacted {
    color: #00AEC7;
    font-weight: bold;
}

.el-view-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap;
}

.el-view-row .el-view-field {
    flex: 1;
    min-width: 200px;
    margin-bottom: 0;
    border: none;
}

.el-view-field.status-active .el-view-field-value {
    color: #4CAF50;
    font-weight: 600;
}

.el-view-field.status-void .el-view-field-value {
    color: #FFC107;
    font-weight: 600;
}

.el-view-field.status-completed .el-view-field-value,
.el-view-field.status-contacted .el-view-field-value{
    color: #00AEC7;
    font-weight: 600;
}

.entries-list-wrapper {
    position: relative;
    width: 100%;
    margin: 20px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}


.entries-list-container {
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: entries-list-fadeIn 0.5s ease-in;
    position: relative;
}

.entries-list-table-scroll {
    overflow-x: auto;
    overflow-y: visible;
    width: 100%;
}

.entries-list-table {
    border-collapse: collapse;
    width: max-content;
    min-width: 100%;
}

.entries-list-wrapper .entries-list-table th,
.entries-list-wrapper .entries-list-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    max-width: 250px;
    vertical-align: middle;
}

.entries-list-table th {
    background-color: #28334a;
    font-weight: 600;
    color: white;
}

.entries-list-table tr:hover {
    background-color: #f9f9f9;
}

/* Sticky columns */
.entries-list-table th.sticky-col,
.entries-list-table td.sticky-col {
    position: sticky;
    background-color: inherit;
    z-index: 10;
}

.entries-list-table th.sticky-col {
    background-color: #28334a;
}

.entries-list-table td.sticky-col.date-col {
    left: 0;
    background-color: white;
    z-index: 5;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    vertical-align: middle;
}

.entries-list-table th.sticky-col.date-col {
    left: 0;
    z-index: 15;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
}

.entries-list-table td.sticky-col.actions-col {
    right: 0;
    background-color: white;
    z-index: 5;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    min-width: 250px;

}

.entries-list-table th.sticky-col.actions-col {
    right: 0;
    z-index: 15;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
}

.entries-list-table tr:hover td.sticky-col {
    background-color: #f9f9f9;
}

.sticky-col.actions-col .el-edit-btn {
    background: #00AEC7;
    border-radius: 50px;
    padding: 5px 20px;
    border: none;
    color: white;
    cursor: pointer;
    margin-right: 5px;
    font-size: 14px;
    transition: opacity 0.2s;
}

.el-edit-btn:hover {
    opacity: 0.9;
}

.el-form-actions .el-save-btn, 
.sticky-col.actions-col .el-edit-status-btn,
.sticky-col.actions-col .el-view-btn {
    background: #00AEC7;
    border-radius: 50px;
    padding: 10px 25px;
    border: none;
    color: white;
    cursor: pointer;
    margin-right: 10px;
    font-size: 14px;
    transition: opacity 0.2s;
}

.sticky-col.actions-col .el-edit-status-btn {
    background: #4CAF50;
}

.el-form-actions .el-cancel-btn {
    background: rgb(255, 33, 4);
    border-radius: 50px;
    padding: 10px 25px;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 14px;
    transition: opacity 0.2s;
}

.el-save-btn:hover,
.el-cancel-btn:hover,
.sticky-col.actions-col .el-edit-status-btn:hover {
    opacity: 0.9;
}

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

.el-modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    max-width: 1300px;
    width: 90%;
    max-height: 100vh;
    overflow-y: auto;
    position: relative;
}

.el-modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.el-modal-close:hover {
    color: #333;
}

.el-form-field {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

#el-edit-form-fields {
    display: grid;
    /*grid-template-columns: repeat(4, 1fr);*/
    gap: 20px;
}

@media (max-width: 992px){
    #el-edit-form-fields {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px){
    #el-edit-form-fields {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px){
    #el-edit-form-fields {
        grid-template-columns: repeat(1, 1fr);
    }
}

.el-edit-form {
    padding: 20px;
}

.el-form-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.el-form-field input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.el-form-field input:focus {
    outline: none;
    border-color: #00AEC7;
    box-shadow: 0 0 0 2px rgba(0,174,199,0.1);
}

.el-form-actions {
    text-align: right;
    margin-top: 30px;
}

.el-save-btn,
button.el-confirm-delete-btn {
    padding: 10px 25px;
    background-color: #00AEC7;
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    margin-right: 10px;
    font-size: 14px;
    transition: all 0.5s ease;       
}

.el-save-btn:hover,
.el-confirm-delete-btn:hover {  
    transition: all 0.5s ease;   
    transform: scale(0.95);  
}

.el-cancel-btn {
    padding: 10px 25px;
    background-color: #f44336;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s;
}

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

.el-modal-content h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    font-size: 20px;
}

.el-form-field select {
    width: 100%;
    padding: 12px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
}

.el-form-field .radio-group,
.el-form-field .checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 5px;
}

.el-form-field .radio-label,
.el-form-field .checkbox-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: normal;
    cursor: pointer;
}

.el-form-field input[type="radio"],
.el-form-field input[type="checkbox"] {
    width: auto;
    margin-right: 5px;
}

.el-form-field textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    min-height: 100px;
    resize: vertical;
}

.required {
    color: #f44336;
}

@keyframes entries-list-fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media screen and (max-width: 600px) {
    .mepr-account-container table {
        border: collapse; 
        width: 100%;
    }
    
    .mepr-account-container table thead {
        display: table-header-group !important; 
    }
    
    .mepr-account-container table tr {
        display: table-row; 
        margin-bottom: 0;
        border-bottom: none; 
    }
    
    .mepr-account-container table td {
        display: table-cell;
        text-align: left; 
    }
    
    .mepr-account-container table td:before {
        content: none; 
    }
    
    .mepr-account-subscr-id,
    .mepr-account-auto-rebill,
    .mepr-account-rebill {
        display: table-cell;
    }
}










.el-view-content {
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
}

.el-view-field {
    margin-bottom: 15px;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.el-view-field:last-child {
    border-bottom: none;
}

.el-view-field-label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    margin-bottom: 5px;
}

.el-view-field-value {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.el-view-field-value a {
    color: #00AEC7;
    text-decoration: none;
}

.el-view-field-value a:hover {
    text-decoration: underline;
}

.entry-cell {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.entry-cell-content {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}