/* General Body Styles */
html, body {
    height: 100%;
}

body {
    font-family: sans-serif;
    background-color: #ffffff; /* Default white background */
    color: #212529; /* Default dark text */
}

/* Background Overlay Logic */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 1s ease-in-out;
    opacity: 0;
}

.background-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
}

/* Page-specific Background Images */
.focus-bg .background-overlay {
    background-image: url('https://i.ibb.co.com/5W6MwFRh/focus.png');
    opacity: 1;
}
.break-bg .background-overlay {
    background-image: url('https://i.ibb.co.com/4RsnSfj6/break.png');
    opacity: 1;
}
.login-bg .background-overlay {
    background-image: url('landing.jpg');
    opacity: 1;
}

/* Make text white when a background image is active */
.focus-bg, .break-bg {
    color: white;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

/* Centering for Timer and Login pages */
.login-bg .content,
.timer-bg .content {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Timer Page Styles */
#timer {
    font-size: 8rem;
    margin-bottom: 20px;
}

/* Login/Register Page Styles */
.form-signin {
    width: 100%;
    max-width: 450px;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}
.form-signin h1, .form-signin h2 {
    color: black;
}

/* Report Modal & Page Styles */
.modal-body .text-dark,
.modal-header .text-dark {
    color: #212529 !important;
}

#reportModal {
    text-shadow: none;
}

.table-success {
    --bs-table-bg: rgba(75, 192, 192, 0.2);
    --bs-table-striped-bg: rgba(75, 192, 192, 0.25);
}

.table-info {
    --bs-table-bg: rgba(255, 99, 132, 0.2);
    --bs-table-striped-bg: rgba(255, 99, 132, 0.25);
}

.table .break-row {
    background-color: rgba(255, 99, 132, 0.2) !important;
}
