﻿.white-text {
    color: white;
}

/* Style for table headers to match row text but bold */
.table th {
    color: white;
    font-weight: bold;
    font-size: 1.05em; /* Slightly larger text */
    border-bottom: 2px solid rgba(255, 255, 255, 0.3); /* Subtle border */
}

/* Ensure consistent styling for the table */
.table {
    color: white;
}

.table td {
    vertical-align: middle;
}

/* General Body and HTML styles */
html, body {
    font-family: 'Roboto', sans-serif;
    background-color: #0a0a1e; /* Dark blue-black base */
    color: #e0e0e0; /* Light grey for text */
    background-image: linear-gradient(180deg, rgba(10, 10, 30, 0.95) 0%, rgba(13, 13, 43, 0.98) 100%), url('../images/uNderMe.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
    color: #ffffff;
    font-weight: 400;
}

h1 {
    font-weight: 700;
    color: #68d1ff; /* Bright cyan for main headers */
    text-shadow: 0 0 8px rgba(104, 209, 255, 0.5);
}

a {
    color: #68d1ff;
    text-decoration: none;
}

a:hover {
    color: #a0eaff;
    text-decoration: underline;
}

/* Main Layout */
.page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
    padding-top: 1.1rem;
}

.top-row {
    background-color: rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid #2c2c5a; /* Dark purple border */
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row ::deep a, .top-row ::deep .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row ::deep a:hover, .top-row ::deep .btn-link:hover {
        text-decoration: underline;
    }

    .top-row ::deep a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

/* Blazor Error UI */
#blazor-error-ui {
    background: #ff4d4d;
    color: white;
    bottom: 0;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.5);
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* Buttons */
.btn {
    border-radius: 20px;
    padding: 8px 20px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: #68d1ff;
    color: #0a0a1e;
    box-shadow: 0 0 15px rgba(104, 209, 255, 0.4);
}

.btn-primary:hover {
    background-color: #a0eaff;
    box-shadow: 0 0 25px rgba(104, 209, 255, 0.7);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #3c4a8c;
    color: #e0e0e0;
}

.btn-secondary:hover {
    background-color: #5060b0;
    transform: translateY(-2px);
}

.btn-success {
    background-color: #28a745;
    color: white;
}

.btn-danger {
    background-color: #dc3545;
    color: white;
}

/* Form Controls */
.form-control, .form-select {
    background-color: rgba(20, 20, 50, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px;
    border-radius: 8px;
    width: 100%;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus, .form-select:focus {
    border-color: #68d1ff;
    box-shadow: 0 0 0 0.2rem rgba(104, 209, 255, 0.25);
    outline: none;
    background-color: rgba(25, 25, 60, 0.8);
}

/* Validation */
.validation-message {
    color: #ff6666;
}

.validation-summary {
    color: #ff6666;
}

.invalid .form-control, .invalid .form-select {
    border-color: #ff6666;
}
