.modal-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.5);
display: flex;
align-items: center;
justify-content: center;
z-index: 1000;
}
.modal-content {
background: var(--card-bg);
border-radius: 8px;
width: 90%;
max-height: 90vh;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
display: flex;
flex-direction: column;
overflow: hidden;
h3 {
margin-top: 1.5rem;
margin-bottom: 0.75rem;
font-size: 1.1rem;
color: var(--text-color);
}
h4 {
margin-top: 1rem;
margin-bottom: 0.5rem;
font-size: 0.95rem;
color: var(--text-color);
}
p {
margin: 0.5rem 0;
line-height: 1.6;
}
ul {
margin: 0.5rem 0;
padding-left: 1.5rem;
li {
margin: 0.5rem 0;
line-height: 1.6;
}
}
pre {
background: #f5f5f5;
padding: 1rem;
border-radius: 4px;
overflow-x: auto;
margin: 0.75rem 0;
code {
font-family: 'Courier New', monospace;
font-size: 0.85rem;
line-height: 1.5;
}
}
code {
background: #f5f5f5;
padding: 0.2rem 0.4rem;
border-radius: 3px;
font-family: 'Courier New', monospace;
font-size: 0.9em;
}
.modal-actions {
display: flex;
gap: 1rem;
margin-top: 1.5rem;
}
}
.modal-header {
padding: 1.5rem 2rem;
border-bottom: 1px solid var(--border-color);
display: flex;
align-items: center;
justify-content: space-between;
flex-shrink: 0;
background: var(--card-bg);
h2 {
margin: 0;
font-size: 1.5rem;
color: var(--text-color);
}
}
.modal-close {
background: none;
border: none;
font-size: 1.5rem;
color: #666;
cursor: pointer;
padding: 0;
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 4px;
transition: all 0.2s;
&:hover {
background: var(--bg-color);
color: var(--text-color);
}
}
.modal-body {
padding: 1.5rem 2rem;
overflow-y: auto;
flex: 1;
}
.modal-footer {
padding: 1rem 2rem;
border-top: 1px solid var(--border-color);
display: flex;
justify-content: flex-end;
gap: 1rem;
flex-shrink: 0;
background: var(--card-bg);
}