/* High contrast UI styles for enhanced visibility */

/* Table styles for user/data grids */
.high-contrast-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 0.5rem;
    overflow: hidden;
}

.high-contrast-table th {
    background-color: #151515;
    color: #00b97b;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    padding: 1rem;
    text-align: left;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    letter-spacing: 0.05em;
}

.high-contrast-table td {
    padding: 1rem;
    border-bottom: 1px solid #333;
    transition: background-color 0.2s;
}

.high-contrast-table tr:last-child td {
    border-bottom: none;
}

.high-contrast-table tbody tr {
    background-color: rgba(18, 18, 18, 0.9);
}

.high-contrast-table tbody tr:nth-child(even) {
    background-color: rgba(25, 25, 25, 0.9);
}

.high-contrast-table tbody tr:hover {
    background-color: rgba(255, 215, 0, 0.08);
}

/* Status indicators */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
}

.status-badge.active {
    background-color: rgba(74, 222, 128, 0.15);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.status-badge.inactive {
    background-color: rgba(248, 113, 113, 0.15);
    color: #f87171;
    border: 1px solid rgba(248, 113, 113, 0.3);
}

.status-badge.pending {
    background-color: rgba(250, 204, 21, 0.15);
    color: #facc15;
    border: 1px solid rgba(250, 204, 21, 0.3);
}

/* Action buttons */
.action-button {
    background-color: transparent;
    border: none;
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    color: #888;
    transition: all 0.2s;
}

.action-button:hover {
    background-color: rgba(255, 215, 0, 0.1);
    color: #00b97b;
}

.action-button.edit:hover {
    background-color: rgba(96, 165, 250, 0.1);
    color: #60a5fa;
}

.action-button.delete:hover {
    background-color: rgba(248, 113, 113, 0.1);
    color: #f87171;
}

/* Search and filter controls */
.search-control {
    position: relative;
    width: 100%;
}

.search-control input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    background-color: rgba(30, 30, 30, 0.95);
    border: 1px solid #333;
    border-radius: 0.5rem;
    color: #fff;
    transition: all 0.2s;
}

.search-control input:focus {
    border-color: #00b97b;
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.15);
    outline: none;
}

.search-control svg {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    width: 1rem;
    height: 1rem;
}

/* Filter dropdown */
.filter-dropdown {
    position: relative;
}

.filter-dropdown button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background-color: rgba(30, 30, 30, 0.95);
    border: 1px solid #333;
    border-radius: 0.5rem;
    color: #fff;
    font-weight: 500;
    transition: all 0.2s;
}

.filter-dropdown button:hover {
    background-color: #1a1a1a;
    border-color: #444;
}

/* Dashboard cards with enhanced contrast */
.high-contrast-stats-card {
    background-color: rgba(20, 20, 20, 0.95);
    border-radius: 0.75rem;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    border: 1px solid #333;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
}

.high-contrast-stats-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 215, 0, 0.3);
}

.high-contrast-stats-card .stats-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 193, 7, 0.05));
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    color: #00b97b;
}

.high-contrast-stats-card .stats-value {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    background: linear-gradient(to right, #00b97b, #e6b800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.high-contrast-stats-card .stats-label {
    color: #888;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.high-contrast-stats-card .stats-trend {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.high-contrast-stats-card .stats-trend.positive {
    color: #4ade80;
}

.high-contrast-stats-card .stats-trend.negative {
    color: #f87171;
}