body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: #333333;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h2 {
    color: #2c3e50;
    font-size: 22px;
    margin-bottom: 20px;
    text-align: center;
}

a {
    color: #1a8b5c;
}

/* PUBLIC SEARCH PAGE STYLES */
.search-container {
    border: 1px solid #f0f0f0;
    padding: 30px;
    border-radius: 4px;
    text-align: center;
    box-shadow: 0 0 8px rgba(0,0,0,0.03);
    margin-bottom: 10px;
    width: 100%;
    max-width: 450px;
}
.search-container p { font-size: 14px; font-weight: bold; margin-bottom: 15px; color: #333; }
.search-container input { padding: 8px 10px; width: 80%; border: 1px solid #ddd; border-radius: 3px; margin-bottom: 15px; text-align: center; font-size: 14px; outline: none; }
.btn-submit { background-color: #1a8b5c; color: white; border: none; padding: 8px 25px; border-radius: 3px; font-weight: bold; cursor: pointer; font-size: 14px; }
.results-table { width: 100%; max-width: 450px; border-collapse: collapse; margin-bottom: 15px; }
.results-table td { padding: 4px 0; border-bottom: 1px solid #f0f0f0; font-size: 10.4px; text-align: left; }
.results-table td.label { font-weight: bold; width: 35%; color: #333; padding-left: 5px; }
.error-msg { background: #fee2e2; color: #ef4444; padding: 10px; border-radius: 4px; text-align: center; font-weight: bold; margin-top: 15px; }
.success-msg { background: #d1fae5; color: #10b981; padding: 10px; border-radius: 4px; text-align: center; font-weight: bold; margin-bottom: 15px; }

/* ADMIN & DASHBOARD STYLES */
.container { max-width: 1000px; width: 100%; margin: 0 auto; }
.auth-container { max-width: 450px; margin: 50px auto; border: 1px solid #eaeaea; padding: 30px; border-radius: 5px; box-shadow: 0px 4px 10px rgba(0,0,0,0.05); }
.auth-container input { width: 100%; padding: 10px; margin-bottom: 15px; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box; }
.btn-block { width: 100%; padding: 10px; background: #2c3e50; color: #fff; border: none; border-radius: 4px; cursor: pointer; font-weight: bold; }
.btn { padding: 8px 15px; background: #2c3e50; color: #fff; border: none; border-radius: 4px; cursor: pointer; text-decoration: none;}

nav { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid #eaeaea; margin-bottom: 30px; width: 100%; }
nav a { margin-left: 15px; text-decoration: none; font-weight: bold; color: #666; }
nav a.active { color: #1a8b5c; }
nav .text-gradient { color: #2c3e50; font-size: 24px; font-weight: bold; letter-spacing: -1px; }

.glass-panel { border: 1px solid #eaeaea; padding: 25px; border-radius: 8px; background: #fff; width: 100%; }
.table-responsive { width: 100%; overflow-x: auto; margin-top: 15px; }
.table-responsive table { width: 100%; border-collapse: collapse; text-align: left; }
.table-responsive th, .table-responsive td { padding: 10px; border-bottom: 1px solid #eaeaea; font-size: 13px; }
.table-responsive th { background: #f8f9fa; color: #444; }

.pagination { margin-top: 30px; padding-top: 20px; border-top: 1px solid #f0f0f0; }
.pagination a { 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 35px;
    height: 35px;
    padding: 0 10px; 
    border: 1px solid #ddd; 
    text-decoration: none; 
    border-radius: 4px; 
    color: #555; 
    font-size: 14px;
    transition: all 0.2s;
}
.pagination a:hover { 
    border-color: #1a8b5c; 
    color: #1a8b5c; 
    background: #f0faf5;
}

/* Modal */
.modal-overlay { position: fixed; top:0; left:0; right:0; bottom:0; background: rgba(0,0,0,0.5); display: none; justify-content: center; align-items: center; }
.modal-overlay.active { display: flex; }
.modal-content { background: #fff; padding: 30px; border-radius: 5px; width: 450px; position: relative; max-height: 90vh; overflow-y: auto; }
.close-modal { position: absolute; top: 15px; right: 20px; font-size: 24px; border: none; background: none; cursor: pointer; color: #999; }
.result-grid { display: flex; flex-direction: column; gap: 10px; margin-top: 20px;}
.data-group { display: flex; justify-content: space-between; padding-bottom: 5px; border-bottom: 1px solid #eee; }
.data-label { font-weight: bold; font-size: 12px; color: #555; width: 40%; }
.data-val { font-size: 12px; font-weight: normal; color: #111; width: 60%; text-align: right; }
