* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1e1e1e; /* Dark mode like VS Code */
    color: #d4d4d4;
}

.app-container {
    display: flex;
    height: 100vh;
}

/* Sidebar Styles */
.sidebar {
    width: 250px;
    background-color: #252526;
    padding: 20px;
    border-right: 1px solid #333;
}

.sidebar button {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    background-color: #0e639c;
    color: white;
    border: none;
    cursor: pointer;
}

.sidebar ul {
    list-style: none;
}

.sidebar li {
    padding: 10px;
    cursor: pointer;
    border-radius: 4px;
}

.sidebar li:hover, .sidebar li.active {
    background-color: #37373d;
}

/* Main Content Styles */
.main-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.snippet-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.snippet-card {
    background-color: #252526;
    padding: 15px;
    border-radius: 8px;
    width: 200px;
    cursor: pointer;
    border: 1px solid #333;
}

.snippet-card:hover {
    border-color: #0e639c;
}

/* Editor Styles */
.editor-area {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#snippet-title, #snippet-language {
    padding: 10px;
    background-color: #3c3c3c;
    color: white;
    border: 1px solid #555;
    border-radius: 4px;
}

#snippet-code {
    flex: 1;
    min-height: 300px;
    padding: 15px;
    background-color: #1e1e1e;
    color: #d4d4d4;
    border: 1px solid #555;
    border-radius: 4px;
    font-family: monospace; /* Important for code */
    resize: none;
}

#save-snippet-btn {
    padding: 10px;
    background-color: #16825d;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}
