Test / style.css
henztech's picture
Update style.css
feb801e verified
body {
margin: 0;
font-family: Arial, sans-serif;
background: linear-gradient(to bottom, #00c853, #b2ff59);
color: #333;
}
.splash-screen {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
background: linear-gradient(to bottom right, #00c853, #b2ff59);
color: white;
text-align: center;
padding: 2rem;
}
.splash-screen h1 {
font-size: 2rem;
margin-bottom: 1rem;
}
.splash-screen p {
font-size: 1.2rem;
margin-bottom: 2rem;
}
.splash-screen button {
padding: 0.75rem 2rem;
border: none;
background: white;
color: #00c853;
border-radius: 10px;
font-size: 1rem;
font-weight: bold;
cursor: pointer;
}
.app {
padding: 1rem;
}
header h1 {
font-size: 1.5rem;
margin: 0;
}
.balance-section {
background: white;
border-radius: 12px;
padding: 1rem;
margin-top: 1rem;
}
.balance-info {
display: flex;
justify-content: space-between;
align-items: center;
}
.action-buttons {
margin-top: 1rem;
display: flex;
gap: 1rem;
}
.action-buttons button {
flex: 1;
padding: 0.5rem;
border-radius: 8px;
background: #eee;
border: none;
font-weight: bold;
}
.tiles {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 1rem;
margin-top: 1rem;
}
.tile {
background: white;
padding: 1rem;
border-radius: 12px;
text-align: center;
}
.tile img {
width: 30px;
height: 30px;
margin-bottom: 0.5rem;
}
.payment-section {
text-align: center;
margin-top: 1rem;
}
#payBtn {
font-size: 2rem;
padding: 1rem;
border-radius: 50%;
background: black;
color: white;
border: none;
}
.payment-history {
margin-top: 2rem;
}
.history-item {
background: white;
padding: 1rem;
border-radius: 8px;
margin-top: 0.5rem;
cursor: pointer;
}
.modal, .receipt {
position: fixed;
top: 0; left: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.7);
display: none;
justify-content: center;
align-items: center;
z-index: 1000;
}
.modal-content, .receipt-content {
background: white;
padding: 2rem;
border-radius: 12px;
width: 90%;
max-width: 400px;
text-align: center;
}
.modal-content input, .modal-content select {
display: block;
width: 100%;
margin: 1rem 0;
padding: 0.5rem;
border-radius: 8px;
border: 1px solid #ccc;
}
.receipt-content .circle {
width: 60px;
height: 60px;
background: red;
color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.5rem;
margin: 0 auto 1rem;
}
.check {
font-weight: bold;
margin: 1rem 0;
font-size: 1.2rem;
}
.receipt-details p {
margin: 0.5rem 0;
}