.cf2list-submits-container {
    width: 1040px;
    margin-top: 20px;
}

.cf2list-submits {
    border-collapse: collapse;
}

.cf2list-submits th,
.cf2list-submits td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.cf2list-submits th {
    background-color: #f2f2f2;
    font-weight: bold;
}

.cf2list-submits tr:nth-child(even) {
    background-color: #f9f9f9;
}

#cf2list-display-type {
    margin-bottom: 10px;
}

#edit-entry-modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}

#edit-entry-modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 600px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

.modal-header span {
    font-size: 18px;
    font-weight: bold;
}

.modal-header h3 {
    font-size: 18px;
    margin: 0;
    cursor: pointer;
}

.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 1px;
    margin-top: 5px;
}

.form-group label {
    font-size: 14px;
    font-weight: bold;
    width: 200px;
    margin-right: 10px;
}

.form-group input {
    flex-grow: 1;
    padding: 3px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 5px;
    height: 28px;
}

.form-group input:focus {
    border-color: #007bff;
    outline: none;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.modal-footer input[type="submit"] {
    padding: 8px 12px;
    font-size: 14px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.modal-footer input[type="submit"]:hover {
    background-color: #0056b3;
}

/* Nur Admins sehen die Edit-Spalte */
.admin-col {
    display: none;
}
body.wp-admin .admin-col, 
body.logged-in .admin-col {
    display: table-cell !important;
}

/* Adminbereich: Formular-Dropdown */
.cf2list-admin-form {
    margin-bottom: 20px;
    padding: 10px 0;
}

.cf2list-admin-form label {
    font-weight: bold;
    margin-right: 10px;
    font-size: 15px;
}

.cf2list-admin-form select {
    font-size: 15px;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #bbb;
    background: #f8f8f8;
    transition: border-color 0.2s;
}

.cf2list-admin-form select:focus {
    border-color: #007cba;
    outline: none;
}
