You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
404NotFound/src/styles/volunteer.css

184 lines
2.9 KiB

6 months ago
/* Volunteer Registration Styles */
.volunteer-container {
min-height: 100vh;
background: linear-gradient(135deg, #f6f9fc 0%, #eef2ff 100%);
padding: 3rem 1rem;
}
.volunteer-card {
max-width: 800px;
margin: 0 auto;
background: white;
border-radius: 20px;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
padding: 3rem;
transform: translateY(0);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.volunteer-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}
.volunteer-header {
text-align: center;
margin-bottom: 3rem;
}
.volunteer-icon {
color: #48bb78;
margin-bottom: 1rem;
}
.volunteer-header h1 {
font-size: 2.5rem;
color: #2d3748;
margin-bottom: 0.5rem;
font-weight: 700;
}
.volunteer-header p {
color: #718096;
font-size: 1.1rem;
}
.volunteer-form {
display: grid;
gap: 1.5rem;
}
.form-group {
position: relative;
}
.form-group label {
display: flex;
align-items: center;
color: #4a5568;
font-weight: 500;
margin-bottom: 0.5rem;
}
.icon {
color: #48bb78;
margin-right: 0.5rem;
}
.form-control {
width: 100%;
padding: 0.75rem 1rem;
border: 2px solid #e2e8f0;
border-radius: 12px;
font-size: 1rem;
transition: all 0.3s ease;
background: #f8fafc;
}
.form-control:focus {
border-color: #48bb78;
box-shadow: 0 0 0 3px rgba(72, 187, 120, 0.1);
outline: none;
background: white;
}
textarea.form-control {
resize: vertical;
min-height: 100px;
}
.checkbox-group {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 1rem;
margin-top: 0.5rem;
}
.checkbox-label {
display: flex;
align-items: center;
cursor: pointer;
user-select: none;
color: #4a5568;
}
.checkbox-label input[type="checkbox"] {
width: 18px;
height: 18px;
margin-right: 0.5rem;
border: 2px solid #48bb78;
border-radius: 4px;
cursor: pointer;
accent-color: #48bb78;
}
.submit-button {
background: #48bb78;
color: white;
border: none;
border-radius: 12px;
padding: 1rem 2rem;
font-size: 1.1rem;
font-weight: 600;
width: 100%;
cursor: pointer;
transition: all 0.3s ease;
margin-top: 1rem;
}
.submit-button:hover:not(:disabled) {
background: #38a169;
transform: translateY(-2px);
}
.submit-button:disabled {
background: #9ae6b4;
cursor: not-allowed;
}
.alert {
padding: 1rem;
border-radius: 12px;
margin-bottom: 2rem;
}
.alert-success {
background: #c6f6d5;
color: #2f855a;
border: 1px solid #9ae6b4;
}
.alert-danger {
background: #fed7d7;
color: #c53030;
border: 1px solid #feb2b2;
}
/* Responsive Design */
@media (max-width: 768px) {
.volunteer-card {
padding: 2rem;
}
.volunteer-header h1 {
font-size: 2rem;
}
.checkbox-group {
grid-template-columns: 1fr;
}
}
@media (max-width: 480px) {
.volunteer-card {
padding: 1.5rem;
}
.volunteer-header h1 {
font-size: 1.75rem;
}
.form-control {
padding: 0.5rem 0.75rem;
}
}