* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

#app {
    width: 90%;
    max-width: 800px;
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2em;
    color: #4a90e2;
}

input, textarea, button {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

input:focus, textarea:focus {
    border-color: #4a90e2;
    outline: none;
}

textarea {
    height: 120px;
    resize: none;
    font-family: monospace; /* Set a monospace font for the code area */
}

button {
    background-color: #4a90e2;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

button:hover {
    background-color: #357ABD;
    transform: translateY(-2px);
}

#snippetList {
    margin-top: 20px;
}

.snippet {
    background: #e9ecef;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 10px;
    transition: transform 0.2s;
}

.snippet:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.snippet h3 {
    margin: 0;
    color: #4a90e2;
    font-size: 1.5em;
}

.snippet pre {
    background: #f7f7f7;
    padding: 10px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: monospace; /* Monospace font for code display */
}

.deleteButton {
    background-color: #ff4d4d;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.deleteButton:hover {
    background-color: #ff1a1a;
    transform: translateY(-1px);
}

#searchInput {
    margin-top: 20px;
}
