/* AGT Security Announcements Plugin Styles */

/* Table Styling */
table.security-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 30px;
    border-bottom: 2px solid #ddd;
    table-layout: fixed;
}

table.security-table th,
.entry-content table.security-table thead th {
    background-color: #555;
    color: #fff;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 16px;
    border-top: 1px solid #555;
}

table.security-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    color: #333;
    font-size: 15px;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}

table.security-table tr:nth-child(even) {
    background-color: #f8f8f8;
}

table.security-table tr:hover {
    background-color: #eef4ff;
    transition: background-color 0.2s;
}

/* Pagination Styling */
.pagination-container {
    margin-top: 20px;
    text-align: right;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 5px;
}

.pagination-btn {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 5px 12px;
    cursor: pointer;
    color: #555;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.2s;
}

.pagination-btn:hover {
    background-color: #f0f0f0;
    border-color: #ccc;
}

.pagination-btn.active {
    background-color: #000;
    color: #fff;
    border-color: #000;
}

.pagination-btn:disabled {
    color: #ccc;
    cursor: not-allowed;
}

/* Modal Styling */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    justify-content: center;
    align-items: center;
}

.modal-box {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    font-family: inherit;
    z-index: 100000;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #aaa;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #333;
}

.modal-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.modal-date {
    color: #888;
    font-size: 14px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    display: block;
}

.modal-body {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
}

.modal-meta {
    margin-top: 20px;
    font-size: 13px;
    color: #777;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 4px;
}