/* User Settings Page */
.settings-container {
    max-width: 400px;
    margin: 40px auto;
    background: #232323;
    padding: 30px;
    border: 1px solid #333;
}
.settings-container h2, .settings-container h3 {
    color: #00ff00;
    margin-bottom: 20px;
}
.settings-container form {
    margin-bottom: 20px;
}
.settings-container label {
    margin-top: 10px;
}
.settings-container input[type="password"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    background: #181818;
    color: white;
    border: 1px solid #444;
}
.settings-container button {
    background: #00ff7f;
    color: #181818;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 1em;
    margin-top: 5px;
}
.settings-container button.danger {
    background: #ff4d4d;
    color: #fff;
}
/* User icon in navbar */
nav.nav ul li a[title="User Settings"] svg {
    vertical-align: middle;
    margin-left: 8px;
    border-radius: 50%;
    background: #232323;
    padding: 2px;
    transition: background 0.2s;
}
nav.nav ul li a[title="User Settings"]:hover svg {
    background: #00ff7f22;
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Fira+Code:wght@400;600&display=swap');

body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
    margin: 20px;
    line-height: 1.4;
    background-color: #1a1a1a;
    color: white;
}

h1, h2, h3 {
    color: #95f20d;
    font-weight: normal;
}

a {
    color: #95f20d;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

a:hover {
    text-decoration: underline;
    color: #95f20d;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 15px;
    background: #27272a;
    border: 1px solid #333;
    border-radius: 0;
}

.landing .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    margin-bottom: 16px;
}

.landing .hero .tagline {
    margin: 4px 0 0 0;
    color: #95f20d;
}

.landing .cta {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.landing .cta .sep {
    color: #95f20d;
}

.code-sample {
    margin-top: 16px;
    background: #1e1e1e;
    border: 1px solid #333;
    padding: 12px;
}

.code-sample pre {
    margin: 0;
    overflow: auto;
}

.code-sample code {
    font-family: "Fira Code", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 0.95rem;
    color: #d6f6d6;
}

form {
    margin-top: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: normal;
}

input[type="text"],
input[type="password"],
input[type="number"],
input[type="datetime-local"] {
    width: 100%;
    padding: 6px;
    margin-bottom: 10px;
    border: 1px solid #444;
    border-radius: 0;
    background: #333;
    color: white;
    box-sizing: border-box;
}

button {
    background-color: #95f20d;
    color: #1a1a1a;
    padding: 8px 12px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    font-family: inherit;
}

button:hover {
    background-color: #00cc66;
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    margin-bottom: 10px;
    padding: 8px;
    background: #333;
    border: 1px solid #444;
    border-radius: 0;
}

.error {
    color: #ff4444;
    background: #2a1a1a;
    padding: 8px;
    border: 1px solid #550000;
    margin-bottom: 10px;
}

.message {
    color: #95f20d;
    background: #1a2a1a;
    padding: 8px;
    border: 1px solid #005500;
    margin-bottom: 10px;
}

@media (max-width: 600px) {
    .container {
        padding: 10px;
        margin: 5px;
    }
    input, button {
        font-size: 12px;
    }
}

.logo {
    width: 260px;
    height: auto;
    margin-bottom: 10px;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: #333;
    padding: 8px 0;
    border: 1px solid #444;
    margin-bottom: 15px;
}

.nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    gap: 8px;
}

/* Navigation link styles are now handled by .nav-item class */

/* Navigation responsive design */
@media (max-width: 768px) {
    .nav-item {
        padding: 8px 4px;
        font-size: 10px;
        flex-basis: calc(20% - 3.2px);
        flex-shrink: 0;
    }
    
    .nav-icon-container {
        width: 36px;
        height: 36px;
        margin-bottom: 4px;
    }
    
    .nav-icon-container svg {
        width: 18px;
        height: 18px;
    }
    
    .nav ul {
        gap: 4px !important;
    }
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
    color: #95f20d;
    text-decoration: none;
    font-weight: bold;
    font-size: 12px;
    text-align: center;
    border-radius: 4px;
    transition: all 0.2s ease;
    flex-basis: calc(20% - 6.4px);
    flex-shrink: 0;
    cursor: pointer;
}

.nav-item:hover {
    background: #3f3f46;
    border-color: #52525b;
    color: #95f20d;
}

.nav-item svg {
    color: #95f20d;
    transition: color 0.2s ease;
}

.nav-item:hover svg {
    color: #95f20d;
}

/* Logout button styling */
.nav-item.logout {
    color: #ff4444;
}

.nav-item.logout:hover {
    background: #3f3f46;
    color: #cc0000;
}

.nav-item.logout .nav-icon-container {
    background-color: rgba(255, 68, 68, 0.4);
}

.nav-item.logout .nav-icon-container:hover {
    background-color: rgba(255, 68, 68, 0.6);
}

.nav-item.logout .nav-icon-container svg {
    color: #ff4444;
}

/* Settings icon (user avatar) */
.nav-item.settings {
    color: #95f20d;
}

.nav-item.settings:hover {
    background: #3f3f46;
    color: #95f20d;
}

.nav-item.settings .nav-icon-container {
    background-color: rgba(34, 197, 94, 0.4);
}

.nav-item.settings .nav-icon-container:hover {
    background-color: rgba(34, 197, 94, 0.6);
}

.nav-item.settings .nav-icon-container svg {
    color: #95f20d;
}

/* Icon container styles matching landing page */
.nav-icon-container {
    width: 48px;
    height: 48px;
    background-color: rgba(34, 197, 94, 0.4);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: background-color 0.2s ease;
}

.nav-icon-container:hover {
    background-color: rgba(34, 197, 94, 0.6);
}

.nav-icon-container svg {
    width: 24px;
    height: 24px;
    color: #95f20d;
}

/* Delete confirmation styling */
.delete-confirm {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid #ff6b6b;
    border-radius: 4px;
    padding: 4px 8px;
    margin-left: 8px;
    font-size: 12px;
}

.delete-confirm button {
    font-size: 11px;
    margin: 0 2px;
    border-radius: 2px;
    transition: background-color 0.2s;
}

.delete-confirm button:hover {
    opacity: 0.8;
}

.delete-confirm .delete-btn {
    background: #ff4444 !important;
    color: white !important;
}