/*------------------------------------------
 Path: docker/main_web_app/static/style.css 
 -------------------------------------------*/

/* General table styling*/
.styled-table {
    background-color: #2c3e50;
    border-collapse: collapse;
    width: 100%;
    border: 1px solid #34495e;
}
/* Table header styling */
.styled-table th {
    background-color: #34495e;
    color: #dcdcdc;
    padding: 10px;
    border: 1px solid #2c3e50;
    text-align: center;
}
/* Table cell styling */
.styled-table td {
    background-color: #3b4a5a;
    color: white;
    padding: 6px;
    border: 1px solid #2c3e50;
}

/* General body styling for a dark theme */
body {
    background-color: #2c3e50; /* Dark charcoal background */
    color: #ecf0f1;           /* Light gray text */
}

/* Styling for the container */
.container {
    background-color: #34495e; /* Slightly lighter gray-blue background */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
}

/* Styling for headings */
h1, h2, h3, h4, h5, h6 {
    color: #ecf0f1; /* Light gray text for headings */
}

/* Styling for tables */
table {
    background-color: #3b4a5a; /* Dark blue-gray background for tables */
    color: #ecf0f1;           /* Light text color */
    border-collapse: collapse;
    width: 100%;
}

table th {
    background-color: #2c3e50; /* Darker header background */
    color: #ecf0f1;           /* Light text for headers */
    padding: 10px;
    text-align: left;
}

table td {
    padding: 10px;
    border: 1px solid #7f8c8d; /* Light gray border */
}

table tr:nth-child(even) {
    background-color: #34495e; /* Slightly lighter background for even rows */
}

/* Styling for footer */
footer {
    background-color: #2c3e50; /* Match the body background */
    color: #ecf0f1;           /* Light text */
    padding: 10px 0;
    text-align: center;
}

/* Adjust navbar padding for mobile */
@media (max-width: 768px) {
    .navbar-nav .nav-link {
        padding: 10px 15px; /* Increase padding for easier tapping */
        font-size: 16px;    /* Increase font size for readability */
    }

    .navbar-brand {
        font-size: 18px; /* Slightly larger brand text */
    }
}

/* Ensure buttons and links are touch-friendly */
.navbar-nav .nav-link {
    padding: 10px 15px; /* Increase padding for better touch targets */
}

button, a {
    touch-action: manipulation; /* Improve touch responsiveness */
}

/* Responsive image styling */
.responsive-image {
    display: block;
    margin: 0 auto; /* Center the image */
    max-width: 100%; /* Ensure it doesn't exceed the container width */
    height: auto; /* Maintain aspect ratio */
}