reactfast / frontend /src /style.css
binaychandra's picture
added all files
1a282d7
:root {
color-scheme: light dark;
}
body {
margin: 0;
font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
background-color: #f0f2f5;
}
#root {
padding: 24px;
}
.container {
display: flex;
justify-content: center;
align-items: center;
min-height: 90vh;
}
.form-wrapper {
width: 100%;
max-width: 500px;
padding: 2rem;
background-color: #ffffff;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.label {
display: block;
margin-bottom: 1rem;
font-size: 1.2rem;
font-weight: 600;
color: #333;
}
.form-row {
display: flex;
gap: 0.5rem;
}
.input {
flex-grow: 1;
padding: 0.75rem;
border: 1px solid #ccc;
border-radius: 4px;
font-size: 1rem;
}
.button {
padding: 0.75rem 1.5rem;
border: none;
border-radius: 4px;
background-color: #007bff;
color: white;
font-size: 1rem;
cursor: pointer;
transition: background-color 0.2s;
}
.button:hover:not(:disabled) {
background-color: #0056b3;
}
.button:disabled {
background-color: #ccc;
cursor: not-allowed;
}
.error-text {
margin-top: 1rem;
color: #d9534f;
}
.result-wrapper {
margin-top: 1.5rem;
padding: 1rem;
background-color: #e9f7ef;
border-left: 4px solid #28a745;
}
.result-text {
margin: 0;
color: #155724;
}
.result-label {
font-weight: bold;
}