291 lines
4.1 KiB
CSS
291 lines
4.1 KiB
CSS
.modalOverlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(0, 0, 0, 0.6);
|
|
backdrop-filter: blur(4px);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 10000;
|
|
padding: 20px;
|
|
animation: fadeIn 0.2s ease-out;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.modalContent {
|
|
background: white;
|
|
border-radius: 16px;
|
|
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
|
|
max-width: 600px;
|
|
width: 100%;
|
|
max-height: 90vh;
|
|
overflow-y: auto;
|
|
animation: slideUp 0.3s ease-out;
|
|
}
|
|
|
|
@keyframes slideUp {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(20px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.modalHeader {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 24px 24px 16px 24px;
|
|
border-bottom: 1px solid #e5e7eb;
|
|
}
|
|
|
|
.modalTitle {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.modalTitle h2 {
|
|
margin: 0;
|
|
font-size: 1.5rem;
|
|
font-weight: 700;
|
|
color: #111827;
|
|
}
|
|
|
|
.titleIcon {
|
|
color: #3b82f6;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.closeButton {
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
padding: 8px;
|
|
border-radius: 8px;
|
|
color: #6b7280;
|
|
transition: all 0.2s;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.closeButton:hover {
|
|
background: #f3f4f6;
|
|
color: #111827;
|
|
}
|
|
|
|
.modalBody {
|
|
padding: 24px;
|
|
}
|
|
|
|
.section {
|
|
margin-bottom: 28px;
|
|
}
|
|
|
|
.section:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.sectionTitle {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 1.1rem;
|
|
font-weight: 600;
|
|
color: #111827;
|
|
margin: 0 0 12px 0;
|
|
}
|
|
|
|
.iconGreen {
|
|
color: #10b981;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.iconRed {
|
|
color: #ef4444;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.iconOrange {
|
|
color: #f59e0b;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.list {
|
|
margin: 0;
|
|
padding-left: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
.list li {
|
|
padding: 10px 0;
|
|
padding-left: 28px;
|
|
position: relative;
|
|
color: #4b5563;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.list li::before {
|
|
content: "•";
|
|
position: absolute;
|
|
left: 12px;
|
|
color: #9ca3af;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.list li strong {
|
|
color: #111827;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.recommendations {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.recommendation {
|
|
display: flex;
|
|
gap: 12px;
|
|
padding: 16px;
|
|
border-radius: 12px;
|
|
background: #f9fafb;
|
|
border: 1px solid #e5e7eb;
|
|
}
|
|
|
|
.recommendation:first-child {
|
|
background: #f0fdf4;
|
|
border-color: #86efac;
|
|
}
|
|
|
|
.recommendation:first-child .recommendationIcon {
|
|
color: #10b981;
|
|
}
|
|
|
|
.recommendation:last-child {
|
|
background: #fef2f2;
|
|
border-color: #fecaca;
|
|
}
|
|
|
|
.recommendation:last-child .recommendationIcon {
|
|
color: #ef4444;
|
|
}
|
|
|
|
.recommendationIcon {
|
|
flex-shrink: 0;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.recommendation strong {
|
|
display: block;
|
|
color: #111827;
|
|
font-weight: 600;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.recommendation p {
|
|
margin: 0;
|
|
color: #4b5563;
|
|
font-size: 0.95rem;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.securityNote {
|
|
display: flex;
|
|
gap: 10px;
|
|
padding: 16px;
|
|
background: #eff6ff;
|
|
border: 1px solid #bfdbfe;
|
|
border-radius: 12px;
|
|
margin-top: 24px;
|
|
}
|
|
|
|
.securityNote svg {
|
|
color: #3b82f6;
|
|
flex-shrink: 0;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.securityNote p {
|
|
margin: 0;
|
|
color: #1e40af;
|
|
font-size: 0.9rem;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.securityNote strong {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.modalFooter {
|
|
padding: 16px 24px;
|
|
border-top: 1px solid #e5e7eb;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.closeButtonFooter {
|
|
background: #3b82f6;
|
|
color: white;
|
|
border: none;
|
|
padding: 12px 24px;
|
|
border-radius: 8px;
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.closeButtonFooter:hover {
|
|
background: #2563eb;
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
|
|
}
|
|
|
|
.closeButtonFooter:active {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
/* Responsive */
|
|
@media (max-width: 640px) {
|
|
.modalContent {
|
|
max-height: 95vh;
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.modalHeader {
|
|
padding: 20px 20px 12px 20px;
|
|
}
|
|
|
|
.modalTitle h2 {
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.modalBody {
|
|
padding: 20px;
|
|
}
|
|
|
|
.sectionTitle {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.recommendation {
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
}
|