.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(6, 10, 16, 0.85);
    backdrop-filter: blur(5px);
    z-index: 1000;
}

.modal-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #0a3a2a;
    border-radius: 1rem;
    max-width: 95%;
    width: 600px;
    z-index: 1001;
    box-shadow: 0 0 30px rgba(0, 220, 130, 0.2);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(0, 220, 130, 0.2);
    background-color: rgba(0, 220, 130, 0.1);
    border-radius: 1rem 1rem 0 0;
}

.modal-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #00dc82;
    font-family: 'JetBrains Mono', monospace;
}

.modal-title i {
    color: #00dc82;
}

.modal-close {
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    color: #fff;
    font-size: 14px;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-content {
    padding: 1.5rem;
    max-height: calc(90vh - 120px);
    overflow-y: auto;
}

.prompt-description {
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.prompt-code-block {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 220, 130, 0.2);
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 1rem 0;
    position: relative;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    line-height: 1.5;
    white-space: pre-wrap;
    overflow-x: auto;
    color: #fff;
}

.command-block {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 220, 130, 0.2);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 1rem;
    position: relative;
}

.command-block pre {
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
    white-space: pre-wrap;
    word-break: break-all;
}

.command-block::before {
    content: '❯ Nuclei Command:';
    position: absolute;
    top: -0.75rem;
    left: 1rem;
    background: #0a3a2a;
    padding: 0 0.5rem;
    color: #00dc82;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
}

.copy-button {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    background: rgba(0, 220, 130, 0.1);
    border: 1px solid rgba(0, 220, 130, 0.2);
    color: #00dc82;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'JetBrains Mono', monospace;
}

.copy-button:hover {
    background: rgba(0, 220, 130, 0.2);
}

.copy-button i {
    margin-right: 0.25rem;
    font-size: 0.75rem;
}

.modal-footer {
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0, 220, 130, 0.2);
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 0 0 1rem 1rem;
}

.modal-footer .website {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    font-family: 'JetBrains Mono', monospace;
}

@media (max-width: 768px) {
    .modal {
        width: 92%;
        margin: 1rem;
    }

    .modal-content {
        padding: 1rem;
        max-height: calc(90vh - 100px);
    }

    .modal-header,
    .modal-footer {
        padding: 0.75rem 1rem;
    }

    .prompt-code-block,
    .command-block {
        padding: 0.75rem;
        font-size: 0.8rem;
    }

    .copy-button {
        padding: 0.2rem 0.4rem;
        font-size: 0.7rem;
    }
} 