#permission_form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#permission_form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

#permission_form input[type="text"],
#permission_form textarea,
#permission_form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    color: #555;
}

#permission_form input[type="submit"] {
    background-color: #0073aa;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#permission_form input[type="submit"]:hover {
    background-color: #005177;
}

.permission-title {
    text-align: center;
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.permission-field {
    margin-bottom: 15px;
}

.permission-field strong {
    display: block;
    color: #555;
    margin-bottom: 5px;
}

.permission-field span {
    display: block;
    padding: 8px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #333;
}


.permission-title {
    text-align: center;
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.permission-field {
    margin-bottom: 15px;
}

.permission-field strong {
    display: block;
    color: #555;
    margin-bottom: 5px;
}

.permission-field span {
    display: block;
    padding: 8px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #333;
}

input[type="file"] {
    margin-top: 10px;
    margin-bottom: 20px;
}

/* Assc */

#accessibilityBtn {
    position: fixed;
    top: 40%;
    right: 12px;
    z-index: 99999;
    font-size: 22px;
    padding: 10px;
    cursor: pointer;
}

#accessibilityPanel {
    position: fixed;
    right: 60px;
    top: 20%;
    width: 260px;
    background: #fff;
    border: 1px solid #ccc;
    padding: 15px;
    display: none;
    z-index: 99999;
}

#accessibilityPanel button {
    width: 100%;
    margin: 6px 0;
    padding: 8px;
    cursor: pointer;
}

.high-contrast {
    background: #000 !important;
    color: #fff !important;
}

.highlight-links a {
    background: yellow;
    color: red !important;
    padding: 2px;
}

.invert {
    filter: invert(1);
}

.no-images img {
    display: none;
}

.big-cursor {
    cursor: pointer;
}

.permission-title {
    text-align: center;
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.permission-field {
    margin-bottom: 15px;
}

.permission-field strong {
    display: block;
    color: #555;
    margin-bottom: 5px;
}

.permission-field span {
    display: block;
    padding: 8px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #333;
}

.status-form {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.status-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.status-form select,
.status-form button {
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 100%;
}

.success-message {
    color: green;
    font-weight: bold;
    margin-top: 10px;
}

.error-message {
    color: red;
    font-weight: bold;
    margin-top: 10px;
}

.supporting-document {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.supporting-document strong {
    flex: 1;
    text-align: left;
    font-size: 16px;
    color: #333;
}

.supporting-document a {
    flex: 1;
    text-align: right;
    color: #0073aa;
    text-decoration: none;
    font-weight: bold;
}

.supporting-document {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: linear-gradient(135deg, #f9f9f9, #e9e9e9);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.supporting-document strong {
    font-size: 16px;
    color: #444;
}

.supporting-document a {
    color: #0056b3;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 12px;
    border: 1px solid #0056b3;
    border-radius: 5px;
    background-color: #fff;
    transition: background-color 0.3s, color 0.3s;
}

.supporting-document a:hover {
    background-color: #0056b3;
    color: #fff;
}


#permission_table {
    width: 100%;
    border-collapse: collapse;
    background: #fafcff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

#permission_table thead {
    background: linear-gradient(90deg, #e3f0fc 0%, #f7fbff 100%);
    color: #3a3a3a;
}

#permission_table th,
#permission_table td {
    padding: 12px 10px;
    border-bottom: 1px solid #eaeaea;
    text-align: left;
    font-size: 15px;
}

#permission_table th {
    font-weight: 600;
    letter-spacing: 0.5px;
}

#permission_table tbody tr:nth-child(even) {
    background: #f5fafd;
}

#permission_table tbody tr:hover {
    background: #eaf4fb;
    transition: background 0.2s;
}

#permission_table a {
    color: #2b6cb0;
    text-decoration: none;
    font-weight: 500;
}

#permission_table a:hover {
    text-decoration: underline;
    color: #22577a;
}

.permission-pagination {
    margin: 18px 0 10px 0;
    text-align: center;
}

.permission-pagination a,
.permission-pagination span {
    display: inline-block;
    padding: 6px 14px;
    margin: 0 3px;
    border-radius: 4px;
    background: #f0f4fa;
    color: #2b6cb0;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid #e0e6ed;
    transition: background 0.2s, color 0.2s;
}

.permission-pagination a:hover {
    background: #b5d6f6;
    color: #22577a;
}

.permission-pagination span {
    background: #b5d6f6;
    color: #22577a;
    border: 1px solid #b5d6f6;
    font-weight: bold;
}

/* Attractive filter form styles */
#permission-filter-form {
    margin-bottom: 18px;
    display: flex;
    gap: 14px;
    align-items: flex-end;
    background: #f7fbff;
    padding: 18px 18px 18px 18px;
    border-radius: 8px;
    box-shadow: 0 1px 6px rgba(44, 62, 80, 0.06);
}

#permission-filter-form input[type="text"],
#permission-filter-form select {
    padding: 8px 12px;
    border: 1px solid #cfd8dc;
    border-radius: 5px;
    font-size: 15px;
    background: #fff;
    min-width: 180px;
    transition: border-color 0.2s;
}

#permission-filter-form input[type="text"]:focus,
#permission-filter-form select:focus {
    border-color: #2b6cb0;
    outline: none;
}

#permission-filter-form button[type="submit"] {
    padding: 8px 22px;
    background: linear-gradient(90deg, #2b6cb0 0%, #4fc3f7 100%);
    color: #fff;
    border: none;
    border-radius: 5px;
    line-height: 1.4em;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(44, 62, 80, 0.08);
    transition: background 0.2s;
}

#permission-filter-form button[type="submit"]:hover {
    background: linear-gradient(90deg, #22577a 0%, #2ec4b6 100%);
}

#permission-filter-form a {
    padding: 10px 16px;
    background: #e3f0fc;
    color: #2b6cb0;
    border-radius: 5px;
    line-height: 1.4em;
    text-decoration: none;
    border: 1px solid #e0e6ed;
    font-weight: 500;
    margin-left: 5px;
    transition: background 0.2s, color 0.2s;
}

#permission-filter-form a:hover {
    background: #b5d6f6;
    color: #22577a;
}