﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
    color: white !important;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: white !important;
    background-color: white;
    border-color: #1861ac;
}

header nav.navbar .navbar-nav .nav-link,
header nav.navbar .navbar-nav .nav-link:focus,
header nav.navbar .navbar-nav .nav-link:hover {
    background-color: #4a4b4b !important;
    color: white !important;
    border: 1px solid white !important;
    padding: 0.5rem 1rem !important;
    border-radius: 4px !important;
    margin-left: 0.5rem !important;
    text-decoration: none !important;
}

    header nav.navbar .navbar-nav .nav-link:hover {
        background-color: #333 !important;
    }


/* Sticky footer styles
    -------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
    -------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

header {
    margin-bottom: 60px;
    background-color: rgba(108, 189, 218, 0.7);
    padding: 20px;
    border-radius: 8px;
}



.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
    background-color: rgba(108, 189, 218, 0.7);
}

h1 {
    color: black;
}

p {
    color: black;
}

.button {
    background-color: green;
    color: white;
    padding: 10px;
    border-radius: 5px;
}

/* General Page Styling */
body {
    font-family: Arial, sans-serif;
    background-color: #4a4b4b;
    color: #333;
    margin: 0;
    padding: 0;
    margin-bottom: 60px;
}



/* Database-section */
.Database-section table {
    border-collapse: collapse;
    border-spacing: 0; /* removes any default spacing */
    background-color: black; /* ensures no white shows through gaps */
}

.Database-section th,
.Database-section td {
    border: 2px solid black;
    padding: 6px;
}

.Database-section th {
    background-color: burlywood;
    color: black;
}

.Database-section td {
    background-color: aquamarine;
}



/* Table Styling */
.table-wrapper {
    overflow-x: auto;
}

.styled-table {
    border-collapse: collapse;
    width: 100%;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

    .styled-table thead {
        background-color: #4a90e2;
        color: white;
    }

    .styled-table th,
    .styled-table td {
        padding: 12px 15px;
        text-align: left;
    }

    .styled-table tbody tr {
        border-bottom: 1px solid #ddd;
        transition: background-color 0.2s ease-in-out;
    }

        .styled-table tbody tr:hover {
            background-color: #f1f7ff;
        }

/* Responsive Design */
@media (max-width: 768px) {

    .styled-table th,
    .styled-table td {
        padding: 8px 10px;
    }
}

.editable-grid {
    border-collapse: collapse;
    width: 80%;
    margin: 30px auto;
    background: rgba(255,255,255,0.85);
    border: 2px solid #ccc;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

    .editable-grid th,
    .editable-grid td {
        border: 2px solid #ddd;
        text-align: left;
        min-width: 10px;
    }

    .editable-grid th {
        border: 2px solid #ddd;
        background-color: #6cbdda;
        color: white;
    }

    .editable-grid td[contenteditable="true"] {
        background-color: rgba(255, 255, 255, 0.6);
    }

        .editable-grid td[contenteditable="true"]:focus {
            background-color: #eaf7ff;
            outline: none;
        }

.button-34 {
    background: #5E5DF0;
    border-radius: 999px;
    box-shadow: #5E5DF0 0 10px 20px -10px;
    box-sizing: border-box;
    color: #FFFFFF;
    cursor: pointer;
    font-family: Inter,Helvetica,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Noto Color Emoji","Segoe UI Symbol","Android Emoji",EmojiSymbols,-apple-system,system-ui,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans",sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    opacity: 1;
    outline: 0 solid transparent;
    padding: 8px 18px;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    width: fit-content;
    word-break: break-word;
    border: 0;
}

.Info-section {
    background-color: aqua;
    padding: 4px;
}

.spinner-border {
    width: 1rem;
    height: 1rem;
    border-width: .15em;
    vertical-align: middle;
    margin-right: 6px;
}