Spaces:
Sleeping
Sleeping
File size: 1,949 Bytes
547e29e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | /* β
General Styling */
body {
font-family: 'Poppins', sans-serif;
text-align: center;
padding: 20px;
background-color: #f4f4f4;
}
h1 {
color: #333;
font-size: 28px;
}
/* β
Dashboard Summary Cards */
.dashboard {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 20px;
margin-top: 20px;
}
.card {
background: #fff;
padding: 15px;
border-radius: 10px;
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
text-align: center;
width: 220px;
font-weight: bold;
font-size: 16px;
}
/* β
Form Styling */
.form-container {
margin: 20px auto;
padding: 20px;
background: white;
width: 90%;
max-width: 400px;
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
border-radius: 10px;
}
/* β
Input Fields */
input, select {
display: block;
width: 100%;
margin: 10px auto;
padding: 12px;
border: 1px solid #ccc;
border-radius: 5px;
font-size: 14px;
}
/* β
Button Styling */
button {
background: #007BFF;
color: white;
padding: 12px;
border: none;
cursor: pointer;
border-radius: 5px;
font-size: 14px;
width: 100%;
transition: 0.3s;
}
button:hover {
background: #0056b3;
}
/* β
Table Styling */
table {
width: 100%;
margin-top: 20px;
background: white;
border-collapse: collapse;
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}
th, td {
padding: 12px;
border: 1px solid #ddd;
font-size: 14px;
}
th {
background: #007BFF;
color: white;
}
/* β
Chart Styling */
canvas {
max-width: 600px;
margin: 20px auto;
}
/* β
Spending Insights */
#spendingInsights {
background: #ffeeba;
color: #856404;
padding: 15px;
border-radius: 5px;
margin-top: 20px;
font-weight: bold;
display: inline-block;
} |