/* myapp/static/css/styles.css */

/* General styles */
body {
    background-color: #121212;
    color: #e0e0e0;
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    color: #00ADB5;
    text-decoration: none;
}

a:hover {
    color: #FF5722;
}

.header, .footer {
    background-color: #1f1f1f;
    padding: 1rem 0;
    text-align: center;
    width: 100%;
    position: fixed;
    left: 0;
    z-index: 1000;
}

.header {
    top: 0;
}

.footer {
    bottom: 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.navbar-brand a {
    display: flex;
    align-items: center;
    color: #00ADB5;
    font-size: 1.5rem;
    font-weight: bold;
}

.navbar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.navbar-item {
    margin-left: 1rem;
}

.navbar-item a {
    color: #e0e0e0;
    padding: 0.5rem 1rem;
    transition: background-color 0.3s ease;
}

.navbar-item a:hover {
    background-color: #333;
    color: #FF5722;
}

.wrapper {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding-top: 4rem; /* height of the header */
    padding-bottom: 4rem; /* height of the footer */
}

.content {
    flex-grow: 1;
    padding: 2rem 1rem;
    text-align: center;
}

.home-content {
    max-width: 800px;
    margin: 0 auto;
}

.home-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #00ADB5;
}

.home-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.home-buttons {
    margin-top: 2rem;
}

.home-buttons .btn {
    padding: 0.75rem 1.5rem;
    margin: 0 0.5rem;
    font-size: 1rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.home-buttons .btn-primary {
    background-color: #00ADB5;
    color: #121212;
}

.home-buttons .btn-primary:hover {
    background-color: #007c82;
}

.home-buttons .btn-secondary {
    background-color: #FF5722;
    color: #121212;
}

.home-buttons .btn-secondary:hover {
    background-color: #e64a19;
}

.footer p {
    margin: 0;
    color: #e0e0e0;
    font-size: 0.9rem;
}

/* static/myapp/css/styles.css */

/* General table styling */
.table-container {
    overflow-x: auto;
    margin: 20px 0;
}

.styled-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9em;
    font-family: 'Arial', sans-serif;
    background-color: #2c2c2c;
    color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    border: 1px solid #444;
}

.styled-table thead tr {
    background-color: #009879;
    text-align: center;
    font-weight: bold;
}

.styled-table th, .styled-table td {
    padding: 12px 15px;
    border-right: 1px solid #444;
}

.styled-table th:last-child, .styled-table td:last-child {
    border-right: none;
}

.styled-table tbody tr {
    border-bottom: 1px solid #444;
}

.styled-table tbody tr:nth-of-type(even) {
    background-color: #353535;
}

.styled-table tbody tr:last-of-type {
    border-bottom: 2px solid #009879;
}

.styled-table tbody tr:hover {
    background-color: #3d3d3d;
}

.styled-table th {
    color: #ffffff;
    border-bottom: 2px solid #009879;
}

.styled-table td {
    color: #b0b0b0;
}

.styled-table .ref_type_display {
    text-align: left;
}

.styled-table .amount, .styled-table .count {
    text-align: right;
}
