care_giver_app / style.css
resumesearch's picture
Update style.css
89bf9a3 verified
/* Global Styles */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: 'Roboto', sans-serif;
}
body {
background-color: #f5f7fa;
color: #333;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
padding: 20px;
}
/* Screen Styles */
.screen {
display: none;
width: 100%;
max-width: 600px;
}
.screen.active {
display: block;
animation: fadeIn 0.5s ease;
}
/* Dialog Box */
.dialog {
background-color: white;
border-radius: 8px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
padding: 30px;
text-align: center;
}
/* Typography */
h1 {
color: #2c3e50;
margin-bottom: 20px;
font-size: 2rem;
}
h2 {
color: #2c3e50;
margin-bottom: 15px;
font-size: 1.5rem;
}
h3 {
margin-bottom: 15px;
font-size: 1.3rem;
}
p {
color: #555;
margin-bottom: 25px;
line-height: 1.6;
}
/* Buttons */
.button {
background-color: #3498db;
border: none;
border-radius: 4px;
color: white;
cursor: pointer;
font-size: 1rem;
font-weight: 500;
padding: 12px 24px;
transition: background-color 0.3s ease;
}
.button:hover {
background-color: #2980b9;
}
/* Form Elements */
.textarea {
border: 1px solid #ddd;
border-radius: 4px;
display: block;
font-size: 1rem;
margin-bottom: 20px;
min-height: 180px;
padding: 15px;
resize: vertical;
width: 100%;
}
.textarea:focus {
border-color: #3498db;
outline: none;
}
/* Animations */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Feedback Styling */
.feedback-positive {
color: #27ae60;
}
.feedback-neutral {
color: #f39c12;
}
.feedback-negative {
color: #e74c3c;
}
.feedback-details {
background-color: #f8f9fa;
border-radius: 6px;
margin-top: 20px;
padding: 20px;
text-align: left;
}
.feedback-section {
margin-bottom: 20px;
}
.feedback-section h4 {
margin-bottom: 10px;
color: #34495e;
}
.feedback-section ul {
list-style-position: inside;
margin-left: 5px;
}
.feedback-section li {
margin-bottom: 8px;
line-height: 1.4;
}