/* General Body and Container Styling */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f7fa;
    color: #333;
    margin: 0;
    line-height: 1.6;
}

.container {
    width: 90%;
    margin: 2rem auto;
    background: #ffffff;
    padding: 2rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
}

/* Header Styling */
header {
    background-color: #2c3e50; /* Dark Blue */
    color: #ffffff;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

header h1 {
    margin: 0;
    font-size: 1.8rem;
}

header nav a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1rem;
    transition: color 0.3s ease;
}

header nav a:hover {
    color: #1abc9c; /* Teal */
}

.user-info {
    display: flex;
    align-items: center;
}

#user-display {
    margin-right: 15px;
    font-weight: bold;
}

#logout-btn {
    background-color: #e74c3c; /* Red */
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#logout-btn:hover {
    background-color: #c0392b;
}

/* Section Styling */
section {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eeeeee;
}

h2 {
    color: #2c3e50; /* Dark Blue */
    border-bottom: 2px solid #1abc9c; /* Teal */
    padding-bottom: 10px;
    margin-bottom: 1.5rem;
}

/* Table Styling */
#chart-of-accounts-table, #journal-entries-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

#chart-of-accounts-table th, #journal-entries-table th {
    background-color: #34495e; /* Darker Blue */
    color: white;
    padding: 12px;
    text-align: left;
}

#chart-of-accounts-table td, #journal-entries-table td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
}

#chart-of-accounts-table tr:nth-child(even), #journal-entries-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

#chart-of-accounts-table tr:hover, #journal-entries-table tr:hover {
    background-color: #f1f1f1;
}

/* Financial Reports Section */
#generate-reports-btn {
    background-color: #1abc9c; /* Teal */
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 1rem;
    transition: background-color 0.3s ease;
}

#generate-reports-btn:hover {
    background-color: #16a085;
}

#financial-reports {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background-color: #fdfdfd;
    border: 1px solid #eaeaea;
    border-radius: 5px;
}

/* Footer */
footer {
    text-align: center;
    padding: 1.5rem;
    margin-top: 2rem;
    background-color: #2c3e50;
    color: #ffffff;
    font-size: 0.9rem;
}
