* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 95%;
    margin: 0 auto;
    padding: 20px;
}

header {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    color: #2c3e50;
}

nav {
    display: flex;
    gap: 15px;
    align-items: center;
}

nav a {
    color: #3498db;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: #ecf0f1;
}

main {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    min-height: 400px;
}

.user-info {
    background-color: #ecf0f1;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.user-info h2 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.verified {
    color: #27ae60;
    font-weight: bold;
}

.unverified {
    color: #e74c3c;
    font-weight: bold;
}

.welcome {
    text-align: center;
    padding: 60px 20px;
}

.welcome h2 {
    margin-bottom: 20px;
    color: #2c3e50;
}

.btn {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #2980b9;
}

.content {
    margin-top: 30px;
}

.content h2 {
    margin-bottom: 15px;
    color: #2c3e50;
}

footer {
    text-align: center;
    padding: 20px;
    color: #7f8c8d;
    margin-top: 20px;
}

/* Asset Admin specific styles */
.controls {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.controls label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-weight: 500;
}

.controls input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    min-width: 150px;
}

.btn {
    background-color: #3498db;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #2980b9;
}

.controls {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.controls label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-weight: 500;
}

.controls input[type="text"] {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.controls button {
    cursor: pointer;
    border: none;
    font-size: 14px;
}

#data-table {
    margin-top: 20px;
}

/* Tabulator overrides for better styling */
.tabulator {
    font-size: 14px;
    border: 1px solid #dee2e6;
}

.tabulator-header {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

.tabulator-row.tabulator-selectable:hover {
    background-color: #f8f9fa;
}

.tabulator-row.tabulator-row-even {
    background-color: #f9f9f9;
}

.controls {
    margin-bottom: 20px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.controls label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-weight: 500;
}

.controls input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #2980b9;
}

.controls {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-end;
}

.total-count {
    margin-left: auto;
    display: flex;
    align-items: flex-end;
    padding-bottom: 8px;
    font-size: 14px;
    color: #2c3e50;
}

.controls label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-weight: 500;
}

.controls input,
.controls select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    min-width: 150px;
}

#data-table {
    margin-top: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Detail page styles */
.detail-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.detail-header h2 {
    margin: 0;
}

.detail-section {
    margin-bottom: 30px;
}

.detail-section h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.detail-text {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.detail-text pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Make rows clickable */
.tabulator-row {
    cursor: pointer;
}

/* Delete button styling */
.btn-danger {
    background-color: #e74c3c;
}

.btn-danger:hover {
    background-color: #c0392b;
}

