/*
 * Custom styling for the SEO checker. Aims to evoke the look and feel of
 * berdyev.com with a dark yet colourful gradient background, soft card
 * surfaces and subtle accents. Colours and spacing are chosen to be
 * accessible and comfortable for extended viewing, without any distracting
 * animations or typewriter effects.
 */

/* Colour variables */
/* Reset accent variable since we are moving to a light theme */
:root {
    --accent: #0d6efd; /* Bootstrap primary blue */
}

/* Base page styling */
body {
    /* Light background inspired by Bootstrap's light theme */
    background-color: #f8f9fa;
    color: #212529;
    font-family: 'Inter', system-ui, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Link styling */
a {
    color: #0d6efd;
    text-decoration: none;
}
a:hover {
    color: #0a58ca;
    text-decoration: underline;
}

/* Navbar styling */
/* Navbar styling for light theme */
.navbar {
    background-color: #ffffff;
    border-bottom: 1px solid #dee2e6;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.navbar-brand {
    font-size: 1.25rem;
    color: #212529;
}

/* Typography */
/* Lead text muted colour */
.lead {
    color: #6c757d;
}

/* Input group adjustments */
/* Input group adjustments for light theme */
.input-group .form-control {
    background-color: #ffffff;
    color: #212529;
    border: 1px solid #ced4da;
    border-right: 0;
}

.input-group .form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
    border-color: #86b7fe;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
    transition: background-color 0.2s ease;
    color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #0b5ed7;
    border-color: #0a58ca;
    color: #ffffff;
}

/* Progress bar */
/* Progress bar styling for light theme */
.progress {
    background-color: #e9ecef;
    border-radius: 50px;
    overflow: hidden;
}

.progress-bar {
    background-color: #0d6efd;
    transition: width 0.4s ease;
}

/* Card styling */
/* Card and table styling for light theme */
.card {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 1rem;
    color: #212529;
}

table.table {
    color: #212529;
}

table.table tr {
    border-bottom: 1px solid #dee2e6;
}

table.table td, table.table th {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

/* Footer styling for light theme */
footer {
    color: #6c757d;
    font-size: 0.875rem;
    margin-top: auto;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

footer a {
    color: #0d6efd;
}

footer a:hover {
    color: #0a58ca;
    text-decoration: underline;
}

/* Progress message styling */
#progressMessage {
    color: #0d6efd;
}