199 lines
3.9 KiB
CSS
199 lines
3.9 KiB
CSS
.form-title {
|
|
text-align: center;
|
|
color: white;
|
|
margin-bottom: 30px;
|
|
font-size: 24px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.radio-section {
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.radio-container {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 40px;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.radio-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
position: relative;
|
|
gap: 8px;
|
|
}
|
|
|
|
.radio-group label {
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: #555;
|
|
cursor: pointer;
|
|
text-align: center;
|
|
transition: color 0.3s ease;
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.radio-group:hover label {
|
|
color: #667eea;
|
|
}
|
|
|
|
.radio-group input[type="radio"]:checked ~ label {
|
|
color: #667eea;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.date-section {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 30px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.date-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-width: 200px;
|
|
}
|
|
|
|
.date-group label {
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: #555;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.date-group input[type="date"] {
|
|
padding: 12px 16px;
|
|
border: 2px solid #e1e5e9;
|
|
border-radius: 10px;
|
|
font-size: 14px;
|
|
background: white;
|
|
transition: all 0.3s ease;
|
|
outline: none;
|
|
}
|
|
|
|
.date-group input[type="date"]:focus {
|
|
border-color: #667eea;
|
|
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.date-group input[type="date"]:hover {
|
|
border-color: #667eea;
|
|
}
|
|
|
|
/* Custom radio button styling */
|
|
.custom-radio {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 24px;
|
|
height: 24px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.custom-radio input[type="radio"] {
|
|
opacity: 0;
|
|
position: absolute;
|
|
width: 24px;
|
|
height: 24px;
|
|
margin: 0;
|
|
cursor: pointer;
|
|
z-index: 2;
|
|
}
|
|
|
|
.custom-radio .radio-checkmark {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
height: 24px;
|
|
width: 24px;
|
|
background-color: white;
|
|
border: 3px solid #ddd;
|
|
border-radius: 50%;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
z-index: 1;
|
|
}
|
|
|
|
.custom-radio input[type="radio"]:checked + .radio-checkmark {
|
|
background-color: #667eea;
|
|
border-color: #667eea;
|
|
}
|
|
|
|
.custom-radio .radio-checkmark:after {
|
|
content: "";
|
|
position: absolute;
|
|
display: none;
|
|
top: 50%;
|
|
left: 50%;
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
background: white;
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
|
|
.custom-radio input[type="radio"]:checked + .radio-checkmark:after {
|
|
display: block;
|
|
}
|
|
|
|
.custom-radio:hover .radio-checkmark {
|
|
border-color: #667eea;
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
/* Responsive design */
|
|
@media (max-width: 768px) {
|
|
.radio-container {
|
|
gap: 20px;
|
|
}
|
|
|
|
.date-section {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 20px;
|
|
}
|
|
|
|
.form-container {
|
|
padding: 30px 20px;
|
|
}
|
|
}
|
|
|
|
/* Animation for form load */
|
|
.form-container {
|
|
animation: fadeInUp 0.8s ease-out;
|
|
}
|
|
.header-rep-container {
|
|
margin-top: -40px !important;
|
|
background-color: teal;
|
|
color: white;
|
|
padding: 10px;
|
|
border-radius: 5px;
|
|
text-align: center;
|
|
}
|
|
.dt-buttons {
|
|
margin-left: 10px; /* Space between dropdown and buttons */
|
|
}
|
|
|
|
.dt-buttons .dt-button {
|
|
margin-right: 5px; /* Optional: space between buttons */
|
|
}
|
|
|
|
@keyframes fadeInUp {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(30px);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|