/* General Styles */
body {
    background-image: url('./money.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center center;
    color: #09b3e7;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
}

.container {
    flex: 1;
    text-align: center;
}

/* Flexbox layout for form and text section */
.form-text-wrapper {
    display: flex;
    justify-content: center; /* Centers the content horizontally */
    align-items: flex-start; /* Aligns the items to the top */
    gap: 20px; /* Space between the text and form sections */
    margin: 20px auto; /* Centers the form-text-wrapper horizontally */
    max-width: 800px; /* Maximum width for the wrapper */
    padding: 20px; /* Adds padding around the wrapper */
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
    border-radius: 8px; /* Rounded corners */
}

/* Left Text Section */
.text-section {
    flex: 1; /* Takes up equal space as form-section */
    padding-right: 20px; /* Adds space on the right side of the text */
    text-align: left; /* Aligns text to the left */
    color: #333; /* Text color */
}

/* Right Form Section */
.form-section {
    flex: 1; /* Takes up equal space as text-section */
    text-align: left; /* Aligns the form to the left */
}

/* Form Elements */
form {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Space between form elements */
}

input[type="text"],
input[type="email"],
input[type="password"] {
    border: 1px solid black;
    border-radius: 4px;
    padding: 8px;
    box-sizing: border-box;
    margin-bottom: 10px;
}

/* Button Styles */
button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}

button:hover {
    background-color: #0056b3;
}

/* Link Styles */
a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Footer Styles */
.footer {
    color: rgb(10, 244, 14);
    text-align: center;
    padding: 10px;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Heading Styles */
h2, .container h2 {
    text-align: center;
    font-size: 24px;
    color: blue;
    margin: 20px 0;
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.1em;
    color: rgb(14, 13, 13);
    background-color: #ff6347; /* Tomato */
    border: none;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn:hover {
    background-color: #ff4500; /* Darker tomato */
    transform: translateY(-5px);
}

.btn-outline {
    background-color: blue;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background-color: white;
    color: #007bff;
    transform: translateY(-5px);
}

/* Specific Button Styles for Registration Page */
#registerForm button {
    background-color: #ff6347; /* Tomato */
    color: white;
}

#loginForm button {
    background-color: rgb(139, 249, 30);
    border: 2px solid white;
    color: rgb(84, 7, 227);
}

#loginForm button:hover {
    background-color: white;
    color: #007bff;
}

/* Dashboard Header */
.dashboard-header {
    background-color: #007bff;
    color: white;
    text-align: center;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.dashboard-heading {
    margin: 0;
    font-size: 2.5em;
}

/* Main Content Styling */
.main-content {
    flex: 1;
    padding: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Expense Section Styling */
.expense-section {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.catchy-statement {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 20px;
}

/* Form Styling */
.expense-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.expense-form input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    flex: 1 1 30%;
}

.expense-form button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.expense-form button:hover {
    background-color: #0056b3;
}

/* Table Styling */
.expense-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.expense-table th, .expense-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.expense-table th {
    background-color: #f4f4f4;
    color: #333;
}

.expense-table tr:hover {
    background-color: #f9f9f9;
}
