* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    /* DISABLE BLUE TAP HIGHLIGHT AND SELECTION ON ALL DEVICES */
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    user-select: none !important;
    outline: none !important;
}

body {
    background-color: #0b0f19;
    color: #f3f4f6;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
}

#app-root {
    width: 100%;
    max-width: 420px;
    padding: 20px;
}

.clock-container {
    text-align: center;
}

canvas#analogClock {
    background: transparent;
    cursor: pointer;
}

.time-text {
    font-size: 1.1rem;
    color: #4b5563;
    margin-top: 15px;
    letter-spacing: 1px;
}

.card {
    background: #111827;
    border: 1px solid #1f2937;
    padding: 28px 22px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    text-align: center;
}

.card-dash {
    text-align: left;
    margin-bottom: 20px;
}

h2 {
    margin-bottom: 8px;
    font-size: 1.3rem;
    color: #f9fafb;
}

.subtitle {
    color: #6b7280;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

input, select {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 12px;
    border-radius: 8px;
    border: 1px solid #374151;
    background: #1f2937;
    color: #fff;
    font-size: 1rem;
    -webkit-user-select: text !important;
    user-select: text !important;
}

input:focus, select:focus {
    border-color: #3b82f6;
}

button {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-primary { background: #2563eb; color: #fff; }
.btn-primary:hover { background: #1d4ed8; }
.btn-secondary { background: #374151; color: #fff; text-decoration: none; padding: 8px 12px; border-radius: 6px; font-size: 0.85rem; display: inline-block; }
.btn-secondary-sm { background: #374151; color: #fff; padding: 6px 10px; border-radius: 6px; font-size: 0.8rem; width: auto; margin-right: 5px; }
.btn-danger { background: #dc2626; color: #fff; }
.btn-danger-sm { background: #dc2626; color: #fff; padding: 6px 10px; border-radius: 6px; font-size: 0.8rem; width: auto; }

.error-msg { color: #ef4444; font-size: 0.85rem; margin-top: 10px; min-height: 18px; }

/* Dashboard Styles */
.dashboard-body { display: block; }
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; background: #111827; border-bottom: 1px solid #1f2937; }
.nav-actions { display: flex; gap: 10px; }
.container { max-width: 800px; margin: 20px auto; padding: 0 15px; }

.vault-item { background: #1f2937; padding: 15px; border-radius: 8px; margin-top: 10px; display: flex; justify-content: space-between; align-items: center; word-break: break-all; }
.item-actions { display: flex; flex-shrink: 0; }
.secret-text { color: #10b981; font-family: monospace; -webkit-user-select: text !important; user-select: text !important; }
.tag { font-size: 0.7rem; background: #374151; padding: 2px 6px; border-radius: 4px; color: #9ca3af; margin-left: 6px; }
