/* Base reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html, body {
    height: 100%;
    background-color: #121212;
    color: #e0e0e0;
}

body {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
nav {
    width: 280px;
    background-color: #1f1f1f;
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: width 0.3s ease;
    border-right: 1px solid #2a2a2a;
}

nav.collapsed {
    width: 60px;
}

nav h3 {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: #fff;
}

nav hr {
    border: none;
    height: 1px;
    background: #2a2a2a;
    margin: 5px 0;
}

/* Search box */
nav input[type="text"] {
    width: 100%;
    padding: 8px 12px;
    border-radius: 6px;
    border: none;
    background-color: #2a2a2a;
    color: #e0e0e0;
    font-size: 0.95rem;
    outline: none;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

nav input[type="text"]::placeholder {
    color: #aaa;
}

nav input[type="text"]:focus {
    background-color: #3a3a3a;
    box-shadow: 0 0 0 2px #7b4bff33;
}

nav input[type="text"]:hover {
    background-color: #333;
}

/* Tooltip */
nav input[type="text"][data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    top: -30px;
    left: 0;
    background: #2a2a2a;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

/* Tool list */
nav ul {
    list-style: none;
    margin-top: 10px;
    flex-grow: 1;
}

nav ul li {
    padding: 10px 12px;
    margin-bottom: 4px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

nav ul li:hover, nav ul li#selected {
    background-color: #7b4bff33;
    color: #fff;
}

/* Footer buttons */
nav h4 {
    margin-top: auto;
    font-weight: 500;
    font-size: 0.9rem;
    color: #aaa;
}

nav p {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 10px;
}

nav button {
    width: 100%;
    padding: 8px 12px;
    margin-bottom: 6px;
    border: none;
    border-radius: 6px;
    background-color: #7b4bff;
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

nav button:hover {
    background-color: #934dff;
}

nav button:active {
    transform: scale(0.98);
}

/* Main content placeholder */
main {
    flex-grow: 1;
    padding: 40px;
    background-color: #121212;
}

/* Collapsed state adjustments */
nav.collapsed h3,
nav.collapsed input,
nav.collapsed ul li,
nav.collapsed h4,
nav.collapsed p,
nav.collapsed button {
    display: none;
}
input{
    background-color: #0A0A0A;
    padding: 10px 15px;
    border: none;
    border-radius: 10px;
    color: #ffffff;
}
.submit{
    background-color: #0A0A0A;
    padding: 10px 15px;
    border: none;
    border-radius: 10px;
    color: #ffffff;
}
.clear{
        background-color: #ffa4a4;
    padding: 10px 15px;
    border: none;
    border-radius: 10px;
    color: #ffffff;
}
kbd {
    font-family: "Inter", system-ui, sans-serif;
    font-size: 0.85em;
    font-weight: 500;

    padding: 2px 6px;
    margin: 0 2px;

    color: #e6e6e6;
    background: linear-gradient(#2a2a2a, #1c1c1c);
    border: 1px solid #444;
    border-radius: 4px;

    box-shadow:
        inset 0 -2px 0 #111,
        0 1px 0 rgba(255,255,255,0.05);

    display: inline-block;
    line-height: 1.2;
}
.invisibleLargeHr{
    color: #00000000;
    border: none;
    margin: 20px;
}
.largeh3{
    font-size: 35px;
}
h1{
    font-size: 50px;
}
a{
    color: #7b4bff;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}
a:hover{
    color: #6d38ff;
    text-decoration: underline;
    font-weight: normal;
}